gi-gdk-3.0.21: Gdk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Structs.EventSetting

Contents

Description

Generated when a setting is modified.

Synopsis

Exported types

newZeroEventSetting :: MonadIO m => m EventSetting Source #

Construct a EventSetting struct initialized to zero.

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 ]