Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Generated when a setting is modified.
Synopsis
- newtype EventSetting = EventSetting (ManagedPtr EventSetting)
- newZeroEventSetting :: MonadIO m => m EventSetting
- getEventSettingAction :: MonadIO m => EventSetting -> m SettingAction
- setEventSettingAction :: MonadIO m => EventSetting -> SettingAction -> m ()
- clearEventSettingName :: MonadIO m => EventSetting -> m ()
- getEventSettingName :: MonadIO m => EventSetting -> m (Maybe Text)
- setEventSettingName :: MonadIO m => EventSetting -> CString -> m ()
- getEventSettingSendEvent :: MonadIO m => EventSetting -> m Int8
- setEventSettingSendEvent :: MonadIO m => EventSetting -> Int8 -> m ()
- getEventSettingType :: MonadIO m => EventSetting -> m EventType
- setEventSettingType :: MonadIO m => EventSetting -> EventType -> m ()
- clearEventSettingWindow :: MonadIO m => EventSetting -> m ()
- getEventSettingWindow :: MonadIO m => EventSetting -> m (Maybe Window)
- setEventSettingWindow :: MonadIO m => EventSetting -> Ptr Window -> m ()
Exported types
newtype EventSetting Source #
Memory-managed wrapper type.
EventSetting (ManagedPtr EventSetting) |
Instances
Eq EventSetting Source # | |
Defined in GI.Gdk.Structs.EventSetting (==) :: EventSetting -> EventSetting -> Bool # (/=) :: EventSetting -> EventSetting -> Bool # | |
BoxedPtr EventSetting Source # | |
Defined in GI.Gdk.Structs.EventSetting boxedPtrCopy :: EventSetting -> IO EventSetting boxedPtrFree :: EventSetting -> IO () | |
CallocPtr EventSetting Source # | |
Defined in GI.Gdk.Structs.EventSetting boxedPtrCalloc :: IO (Ptr EventSetting) | |
ManagedPtrNewtype EventSetting Source # | |
Defined in GI.Gdk.Structs.EventSetting toManagedPtr :: EventSetting -> ManagedPtr EventSetting | |
tag ~ 'AttrSet => Constructible EventSetting tag Source # | |
Defined in GI.Gdk.Structs.EventSetting new :: MonadIO m => (ManagedPtr EventSetting -> EventSetting) -> [AttrOp EventSetting tag] -> m EventSetting |
newZeroEventSetting :: MonadIO m => m EventSetting Source #
Construct a EventSetting
struct initialized to zero.
Methods
Properties
action
what happened to the setting (SettingActionNew
,
SettingActionChanged
or SettingActionDeleted
).
getEventSettingAction :: MonadIO m => EventSetting -> m SettingAction Source #
Get the value of the “action
” field.
When overloading is enabled, this is equivalent to
get
eventSetting #action
setEventSettingAction :: MonadIO m => EventSetting -> SettingAction -> m () Source #
Set the value of the “action
” field.
When overloading is enabled, this is equivalent to
set
eventSetting [ #action:=
value ]
name
the name of the setting.
clearEventSettingName :: MonadIO m => EventSetting -> m () Source #
Set the value of the “name
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#name
getEventSettingName :: MonadIO m => EventSetting -> m (Maybe Text) Source #
Get the value of the “name
” field.
When overloading is enabled, this is equivalent to
get
eventSetting #name
setEventSettingName :: MonadIO m => EventSetting -> CString -> m () Source #
Set the value of the “name
” field.
When overloading is enabled, this is equivalent to
set
eventSetting [ #name:=
value ]
sendEvent
True
if the event was sent explicitly.
getEventSettingSendEvent :: MonadIO m => EventSetting -> m Int8 Source #
Get the value of the “send_event
” field.
When overloading is enabled, this is equivalent to
get
eventSetting #sendEvent
setEventSettingSendEvent :: MonadIO m => EventSetting -> Int8 -> m () Source #
Set the value of the “send_event
” field.
When overloading is enabled, this is equivalent to
set
eventSetting [ #sendEvent:=
value ]
type
the type of the event (EventTypeSetting
).
getEventSettingType :: MonadIO m => EventSetting -> m EventType Source #
Get the value of the “type
” field.
When overloading is enabled, this is equivalent to
get
eventSetting #type
setEventSettingType :: MonadIO m => EventSetting -> EventType -> m () Source #
Set the value of the “type
” field.
When overloading is enabled, this is equivalent to
set
eventSetting [ #type:=
value ]
window
the window which received the event.
clearEventSettingWindow :: MonadIO m => EventSetting -> m () Source #
Set the value of the “window
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#window
getEventSettingWindow :: MonadIO m => EventSetting -> m (Maybe Window) Source #
Get the value of the “window
” field.
When overloading is enabled, this is equivalent to
get
eventSetting #window
setEventSettingWindow :: MonadIO m => EventSetting -> Ptr Window -> m () Source #
Set the value of the “window
” field.
When overloading is enabled, this is equivalent to
set
eventSetting [ #window:=
value ]