gi-gdk-3.0.25: Gdk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Structs.EventOwnerChange

Description

Generated when the owner of a selection changes. On X11, this information is only available if the X server supports the XFIXES extension.

Since: 2.6

Synopsis

Exported types

newZeroEventOwnerChange :: MonadIO m => m EventOwnerChange Source #

Construct a EventOwnerChange struct initialized to zero.

Methods

Properties

owner

the new owner of the selection, or Nothing if there is none

clearEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> m () Source #

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

clear #owner

getEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> m (Maybe Window) Source #

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

get eventOwnerChange #owner

setEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> Ptr Window -> m () Source #

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

set eventOwnerChange [ #owner := value ]

reason

the reason for the ownership change as a OwnerChange value

getEventOwnerChangeReason :: MonadIO m => EventOwnerChange -> m OwnerChange Source #

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

get eventOwnerChange #reason

setEventOwnerChangeReason :: MonadIO m => EventOwnerChange -> OwnerChange -> m () Source #

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

set eventOwnerChange [ #reason := value ]

selection

the atom identifying the selection

getEventOwnerChangeSelection :: MonadIO m => EventOwnerChange -> m Atom Source #

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

get eventOwnerChange #selection

selectionTime

the time at which the selection ownership was taken over

getEventOwnerChangeSelectionTime :: MonadIO m => EventOwnerChange -> m Word32 Source #

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

get eventOwnerChange #selectionTime

setEventOwnerChangeSelectionTime :: MonadIO m => EventOwnerChange -> Word32 -> m () Source #

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

set eventOwnerChange [ #selectionTime := value ]

sendEvent

True if the event was sent explicitly.

getEventOwnerChangeSendEvent :: MonadIO m => EventOwnerChange -> m Int8 Source #

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

get eventOwnerChange #sendEvent

setEventOwnerChangeSendEvent :: MonadIO m => EventOwnerChange -> Int8 -> m () Source #

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

set eventOwnerChange [ #sendEvent := value ]

time

the timestamp of the event

getEventOwnerChangeTime :: MonadIO m => EventOwnerChange -> m Word32 Source #

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

get eventOwnerChange #time

setEventOwnerChangeTime :: MonadIO m => EventOwnerChange -> Word32 -> m () Source #

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

set eventOwnerChange [ #time := value ]

type

the type of the event (EventTypeOwnerChange).

getEventOwnerChangeType :: MonadIO m => EventOwnerChange -> m EventType Source #

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

get eventOwnerChange #type

setEventOwnerChangeType :: MonadIO m => EventOwnerChange -> EventType -> m () Source #

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

set eventOwnerChange [ #type := value ]

window

the window which received the event

clearEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> m () Source #

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

clear #window

getEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> m (Maybe Window) Source #

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

get eventOwnerChange #window

setEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> Ptr Window -> m () Source #

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

set eventOwnerChange [ #window := value ]