Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Generated when the state of a toplevel window changes.
Synopsis
- newtype EventWindowState = EventWindowState (ManagedPtr EventWindowState)
- newZeroEventWindowState :: MonadIO m => m EventWindowState
- noEventWindowState :: Maybe EventWindowState
- getEventWindowStateChangedMask :: MonadIO m => EventWindowState -> m [WindowState]
- setEventWindowStateChangedMask :: MonadIO m => EventWindowState -> [WindowState] -> m ()
- getEventWindowStateNewWindowState :: MonadIO m => EventWindowState -> m [WindowState]
- setEventWindowStateNewWindowState :: MonadIO m => EventWindowState -> [WindowState] -> m ()
- getEventWindowStateSendEvent :: MonadIO m => EventWindowState -> m Int8
- setEventWindowStateSendEvent :: MonadIO m => EventWindowState -> Int8 -> m ()
- getEventWindowStateType :: MonadIO m => EventWindowState -> m EventType
- setEventWindowStateType :: MonadIO m => EventWindowState -> EventType -> m ()
- clearEventWindowStateWindow :: MonadIO m => EventWindowState -> m ()
- getEventWindowStateWindow :: MonadIO m => EventWindowState -> m (Maybe Window)
- setEventWindowStateWindow :: MonadIO m => EventWindowState -> Ptr Window -> m ()
Exported types
newtype EventWindowState Source #
Memory-managed wrapper type.
Instances
WrappedPtr EventWindowState Source # | |
tag ~ AttrSet => Constructible EventWindowState tag Source # | |
Defined in GI.Gdk.Structs.EventWindowState new :: MonadIO m => (ManagedPtr EventWindowState -> EventWindowState) -> [AttrOp EventWindowState tag] -> m EventWindowState # |
newZeroEventWindowState :: MonadIO m => m EventWindowState Source #
Construct a EventWindowState
struct initialized to zero.
noEventWindowState :: Maybe EventWindowState Source #
A convenience alias for Nothing
:: Maybe
EventWindowState
.
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 ]