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.EventWindowState

Contents

Description

Generated when the state of a toplevel window changes.

Synopsis

Exported types

newZeroEventWindowState :: MonadIO m => m EventWindowState Source #

Construct a EventWindowState struct initialized to zero.

Properties

changedMask

mask specifying what flags have changed.

getEventWindowStateChangedMask :: MonadIO m => EventWindowState -> m [WindowState] Source #

Get the value of the “changed_mask” field. When overloading is enabled, this is equivalent to

get eventWindowState #changedMask

setEventWindowStateChangedMask :: MonadIO m => EventWindowState -> [WindowState] -> m () Source #

Set the value of the “changed_mask” field. When overloading is enabled, this is equivalent to

set eventWindowState [ #changedMask := value ]

newWindowState

the new window state, a combination of WindowState bits.

getEventWindowStateNewWindowState :: MonadIO m => EventWindowState -> m [WindowState] Source #

Get the value of the “new_window_state” field. When overloading is enabled, this is equivalent to

get eventWindowState #newWindowState

setEventWindowStateNewWindowState :: MonadIO m => EventWindowState -> [WindowState] -> m () Source #

Set the value of the “new_window_state” field. When overloading is enabled, this is equivalent to

set eventWindowState [ #newWindowState := value ]

sendEvent

True if the event was sent explicitly.

getEventWindowStateSendEvent :: MonadIO m => EventWindowState -> m Int8 Source #

Get the value of the “send_event” field. When overloading is enabled, this is equivalent to

get eventWindowState #sendEvent

setEventWindowStateSendEvent :: MonadIO m => EventWindowState -> Int8 -> m () Source #

Set the value of the “send_event” field. When overloading is enabled, this is equivalent to

set eventWindowState [ #sendEvent := value ]

type

the type of the event (EventTypeWindowState).

getEventWindowStateType :: MonadIO m => EventWindowState -> m EventType Source #

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get eventWindowState #type

setEventWindowStateType :: MonadIO m => EventWindowState -> EventType -> m () Source #

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set eventWindowState [ #type := value ]

window

the window which received the event.

clearEventWindowStateWindow :: MonadIO m => EventWindowState -> m () Source #

Set the value of the “window” field to Nothing. When overloading is enabled, this is equivalent to

clear #window

getEventWindowStateWindow :: MonadIO m => EventWindowState -> m (Maybe Window) Source #

Get the value of the “window” field. When overloading is enabled, this is equivalent to

get eventWindowState #window

setEventWindowStateWindow :: MonadIO m => EventWindowState -> Ptr Window -> m () Source #

Set the value of the “window” field. When overloading is enabled, this is equivalent to

set eventWindowState [ #window := value ]