gi-gdk-3.0.24: Gdk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Structs.EventSetting

Description

Generated when a setting is modified.

Synopsis

Exported types

newtype EventSetting Source #

Memory-managed wrapper type.

Constructors

EventSetting (ManagedPtr EventSetting) 

Instances

Instances details
Eq EventSetting Source # 
Instance details

Defined in GI.Gdk.Structs.EventSetting

BoxedPtr EventSetting Source # 
Instance details

Defined in GI.Gdk.Structs.EventSetting

CallocPtr EventSetting Source # 
Instance details

Defined in GI.Gdk.Structs.EventSetting

ManagedPtrNewtype EventSetting Source # 
Instance details

Defined in GI.Gdk.Structs.EventSetting

Methods

toManagedPtr :: EventSetting -> ManagedPtr EventSetting

tag ~ 'AttrSet => Constructible EventSetting tag Source # 
Instance details

Defined in GI.Gdk.Structs.EventSetting

Methods

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 ]