Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Generated when a window size or position has changed.
Synopsis
- newtype EventConfigure = EventConfigure (ManagedPtr EventConfigure)
- newZeroEventConfigure :: MonadIO m => m EventConfigure
- noEventConfigure :: Maybe EventConfigure
- getEventConfigureHeight :: MonadIO m => EventConfigure -> m Int32
- setEventConfigureHeight :: MonadIO m => EventConfigure -> Int32 -> m ()
- getEventConfigureSendEvent :: MonadIO m => EventConfigure -> m Int8
- setEventConfigureSendEvent :: MonadIO m => EventConfigure -> Int8 -> m ()
- getEventConfigureType :: MonadIO m => EventConfigure -> m EventType
- setEventConfigureType :: MonadIO m => EventConfigure -> EventType -> m ()
- getEventConfigureWidth :: MonadIO m => EventConfigure -> m Int32
- setEventConfigureWidth :: MonadIO m => EventConfigure -> Int32 -> m ()
- clearEventConfigureWindow :: MonadIO m => EventConfigure -> m ()
- getEventConfigureWindow :: MonadIO m => EventConfigure -> m (Maybe Window)
- setEventConfigureWindow :: MonadIO m => EventConfigure -> Ptr Window -> m ()
- getEventConfigureX :: MonadIO m => EventConfigure -> m Int32
- setEventConfigureX :: MonadIO m => EventConfigure -> Int32 -> m ()
- getEventConfigureY :: MonadIO m => EventConfigure -> m Int32
- setEventConfigureY :: MonadIO m => EventConfigure -> Int32 -> m ()
Exported types
newtype EventConfigure Source #
Memory-managed wrapper type.
Instances
WrappedPtr EventConfigure Source # | |
Defined in GI.Gdk.Structs.EventConfigure wrappedPtrCalloc :: IO (Ptr EventConfigure) # wrappedPtrCopy :: EventConfigure -> IO EventConfigure # wrappedPtrFree :: Maybe (FunPtr (Ptr EventConfigure -> IO ())) # | |
tag ~ AttrSet => Constructible EventConfigure tag Source # | |
Defined in GI.Gdk.Structs.EventConfigure new :: MonadIO m => (ManagedPtr EventConfigure -> EventConfigure) -> [AttrOp EventConfigure tag] -> m EventConfigure # |
newZeroEventConfigure :: MonadIO m => m EventConfigure Source #
Construct a EventConfigure
struct initialized to zero.
noEventConfigure :: Maybe EventConfigure Source #
A convenience alias for Nothing
:: Maybe
EventConfigure
.
Properties
height
the new height of the window.
getEventConfigureHeight :: MonadIO m => EventConfigure -> m Int32 Source #
Get the value of the “height
” field.
When overloading is enabled, this is equivalent to
get
eventConfigure #height
setEventConfigureHeight :: MonadIO m => EventConfigure -> Int32 -> m () Source #
Set the value of the “height
” field.
When overloading is enabled, this is equivalent to
set
eventConfigure [ #height:=
value ]
sendEvent
True
if the event was sent explicitly.
getEventConfigureSendEvent :: MonadIO m => EventConfigure -> m Int8 Source #
Get the value of the “send_event
” field.
When overloading is enabled, this is equivalent to
get
eventConfigure #sendEvent
setEventConfigureSendEvent :: MonadIO m => EventConfigure -> Int8 -> m () Source #
Set the value of the “send_event
” field.
When overloading is enabled, this is equivalent to
set
eventConfigure [ #sendEvent:=
value ]
type
the type of the event (EventTypeConfigure
).
getEventConfigureType :: MonadIO m => EventConfigure -> m EventType Source #
Get the value of the “type
” field.
When overloading is enabled, this is equivalent to
get
eventConfigure #type
setEventConfigureType :: MonadIO m => EventConfigure -> EventType -> m () Source #
Set the value of the “type
” field.
When overloading is enabled, this is equivalent to
set
eventConfigure [ #type:=
value ]
width
the new width of the window.
getEventConfigureWidth :: MonadIO m => EventConfigure -> m Int32 Source #
Get the value of the “width
” field.
When overloading is enabled, this is equivalent to
get
eventConfigure #width
setEventConfigureWidth :: MonadIO m => EventConfigure -> Int32 -> m () Source #
Set the value of the “width
” field.
When overloading is enabled, this is equivalent to
set
eventConfigure [ #width:=
value ]
window
the window which received the event.
clearEventConfigureWindow :: MonadIO m => EventConfigure -> m () Source #
Set the value of the “window
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#window
getEventConfigureWindow :: MonadIO m => EventConfigure -> m (Maybe Window) Source #
Get the value of the “window
” field.
When overloading is enabled, this is equivalent to
get
eventConfigure #window
setEventConfigureWindow :: MonadIO m => EventConfigure -> Ptr Window -> m () Source #
Set the value of the “window
” field.
When overloading is enabled, this is equivalent to
set
eventConfigure [ #window:=
value ]
x
the new x coordinate of the window, relative to its parent.
getEventConfigureX :: MonadIO m => EventConfigure -> m Int32 Source #
Get the value of the “x
” field.
When overloading is enabled, this is equivalent to
get
eventConfigure #x
setEventConfigureX :: MonadIO m => EventConfigure -> Int32 -> m () Source #
Set the value of the “x
” field.
When overloading is enabled, this is equivalent to
set
eventConfigure [ #x:=
value ]
y
the new y coordinate of the window, relative to its parent.
getEventConfigureY :: MonadIO m => EventConfigure -> m Int32 Source #
Get the value of the “y
” field.
When overloading is enabled, this is equivalent to
get
eventConfigure #y
setEventConfigureY :: MonadIO m => EventConfigure -> Int32 -> m () Source #
Set the value of the “y
” field.
When overloading is enabled, this is equivalent to
set
eventConfigure [ #y:=
value ]