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

GI.Gdk.Structs.EventConfigure

Description

Generated when a window size or position has changed.

Synopsis

Exported types

newtype EventConfigure Source #

Memory-managed wrapper type.

Constructors

EventConfigure (ManagedPtr EventConfigure) 

Instances

Instances details
Eq EventConfigure Source # 
Instance details

Defined in GI.Gdk.Structs.EventConfigure

BoxedPtr EventConfigure Source # 
Instance details

Defined in GI.Gdk.Structs.EventConfigure

CallocPtr EventConfigure Source # 
Instance details

Defined in GI.Gdk.Structs.EventConfigure

ManagedPtrNewtype EventConfigure Source # 
Instance details

Defined in GI.Gdk.Structs.EventConfigure

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

Defined in GI.Gdk.Structs.EventConfigure

Methods

new :: MonadIO m => (ManagedPtr EventConfigure -> EventConfigure) -> [AttrOp EventConfigure tag] -> m EventConfigure

newZeroEventConfigure :: MonadIO m => m EventConfigure Source #

Construct a EventConfigure struct initialized to zero.

Methods

Overloaded methods

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 ]