Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- newtype EventOwnerChange = EventOwnerChange (ManagedPtr EventOwnerChange)
- newZeroEventOwnerChange :: MonadIO m => m EventOwnerChange
- clearEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> m ()
- getEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> m (Maybe Window)
- setEventOwnerChangeOwner :: MonadIO m => EventOwnerChange -> Ptr Window -> m ()
- getEventOwnerChangeReason :: MonadIO m => EventOwnerChange -> m OwnerChange
- setEventOwnerChangeReason :: MonadIO m => EventOwnerChange -> OwnerChange -> m ()
- getEventOwnerChangeSelection :: MonadIO m => EventOwnerChange -> m Atom
- getEventOwnerChangeSelectionTime :: MonadIO m => EventOwnerChange -> m Word32
- setEventOwnerChangeSelectionTime :: MonadIO m => EventOwnerChange -> Word32 -> m ()
- getEventOwnerChangeSendEvent :: MonadIO m => EventOwnerChange -> m Int8
- setEventOwnerChangeSendEvent :: MonadIO m => EventOwnerChange -> Int8 -> m ()
- getEventOwnerChangeTime :: MonadIO m => EventOwnerChange -> m Word32
- setEventOwnerChangeTime :: MonadIO m => EventOwnerChange -> Word32 -> m ()
- getEventOwnerChangeType :: MonadIO m => EventOwnerChange -> m EventType
- setEventOwnerChangeType :: MonadIO m => EventOwnerChange -> EventType -> m ()
- clearEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> m ()
- getEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> m (Maybe Window)
- setEventOwnerChangeWindow :: MonadIO m => EventOwnerChange -> Ptr Window -> m ()
Exported types
newtype EventOwnerChange Source #
Memory-managed wrapper type.
Instances
Eq EventOwnerChange Source # | |
Defined in GI.Gdk.Structs.EventOwnerChange (==) :: EventOwnerChange -> EventOwnerChange -> Bool # (/=) :: EventOwnerChange -> EventOwnerChange -> Bool # | |
BoxedPtr EventOwnerChange Source # | |
Defined in GI.Gdk.Structs.EventOwnerChange boxedPtrCopy :: EventOwnerChange -> IO EventOwnerChange # boxedPtrFree :: EventOwnerChange -> IO () # | |
CallocPtr EventOwnerChange Source # | |
Defined in GI.Gdk.Structs.EventOwnerChange boxedPtrCalloc :: IO (Ptr EventOwnerChange) # | |
ManagedPtrNewtype EventOwnerChange Source # | |
Defined in GI.Gdk.Structs.EventOwnerChange | |
tag ~ 'AttrSet => Constructible EventOwnerChange tag Source # | |
Defined in GI.Gdk.Structs.EventOwnerChange new :: MonadIO m => (ManagedPtr EventOwnerChange -> EventOwnerChange) -> [AttrOp EventOwnerChange tag] -> m EventOwnerChange # |
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 ]