| 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 |
GI.Gdk.Structs.EventSelection
Description
Generated when a selection is requested or ownership of a selection is taken over by another client application.
- newtype EventSelection = EventSelection (ForeignPtr EventSelection)
- newZeroEventSelection :: MonadIO m => m EventSelection
- noEventSelection :: Maybe EventSelection
- clearEventSelectionProperty :: MonadIO m => EventSelection -> m ()
- eventSelectionProperty :: AttrLabelProxy "property"
- getEventSelectionProperty :: MonadIO m => EventSelection -> m (Maybe Atom)
- setEventSelectionProperty :: MonadIO m => EventSelection -> Ptr Atom -> m ()
- clearEventSelectionRequestor :: MonadIO m => EventSelection -> m ()
- eventSelectionRequestor :: AttrLabelProxy "requestor"
- getEventSelectionRequestor :: MonadIO m => EventSelection -> m (Maybe Window)
- setEventSelectionRequestor :: MonadIO m => EventSelection -> Ptr Window -> m ()
- clearEventSelectionSelection :: MonadIO m => EventSelection -> m ()
- eventSelectionSelection :: AttrLabelProxy "selection"
- getEventSelectionSelection :: MonadIO m => EventSelection -> m (Maybe Atom)
- setEventSelectionSelection :: MonadIO m => EventSelection -> Ptr Atom -> m ()
- eventSelectionSendEvent :: AttrLabelProxy "sendEvent"
- getEventSelectionSendEvent :: MonadIO m => EventSelection -> m Int8
- setEventSelectionSendEvent :: MonadIO m => EventSelection -> Int8 -> m ()
- clearEventSelectionTarget :: MonadIO m => EventSelection -> m ()
- eventSelectionTarget :: AttrLabelProxy "target"
- getEventSelectionTarget :: MonadIO m => EventSelection -> m (Maybe Atom)
- setEventSelectionTarget :: MonadIO m => EventSelection -> Ptr Atom -> m ()
- eventSelectionTime :: AttrLabelProxy "time"
- getEventSelectionTime :: MonadIO m => EventSelection -> m Word32
- setEventSelectionTime :: MonadIO m => EventSelection -> Word32 -> m ()
- eventSelectionType :: AttrLabelProxy "type"
- getEventSelectionType :: MonadIO m => EventSelection -> m EventType
- setEventSelectionType :: MonadIO m => EventSelection -> EventType -> m ()
- clearEventSelectionWindow :: MonadIO m => EventSelection -> m ()
- eventSelectionWindow :: AttrLabelProxy "window"
- getEventSelectionWindow :: MonadIO m => EventSelection -> m (Maybe Window)
- setEventSelectionWindow :: MonadIO m => EventSelection -> Ptr Window -> m ()
Exported types
newtype EventSelection Source #
Constructors
| EventSelection (ForeignPtr EventSelection) |
Instances
| WrappedPtr EventSelection Source # | |
| (~) AttrOpTag tag AttrSet => Constructible EventSelection tag Source # | |
| ((~) * info (ResolveEventSelectionMethod t EventSelection), MethodInfo * info EventSelection p) => IsLabel t (EventSelection -> p) Source # | |
| ((~) * info (ResolveEventSelectionMethod t EventSelection), MethodInfo * info EventSelection p) => IsLabelProxy t (EventSelection -> p) Source # | |
| HasAttributeList * EventSelection Source # | |
| type AttributeList EventSelection Source # | |
newZeroEventSelection :: MonadIO m => m EventSelection Source #
Construct a EventSelection struct initialized to zero.
Properties
Property
clearEventSelectionProperty :: MonadIO m => EventSelection -> m () Source #
eventSelectionProperty :: AttrLabelProxy "property" Source #
getEventSelectionProperty :: MonadIO m => EventSelection -> m (Maybe Atom) Source #
setEventSelectionProperty :: MonadIO m => EventSelection -> Ptr Atom -> m () Source #
Requestor
clearEventSelectionRequestor :: MonadIO m => EventSelection -> m () Source #
eventSelectionRequestor :: AttrLabelProxy "requestor" Source #
getEventSelectionRequestor :: MonadIO m => EventSelection -> m (Maybe Window) Source #
setEventSelectionRequestor :: MonadIO m => EventSelection -> Ptr Window -> m () Source #
Selection
clearEventSelectionSelection :: MonadIO m => EventSelection -> m () Source #
eventSelectionSelection :: AttrLabelProxy "selection" Source #
getEventSelectionSelection :: MonadIO m => EventSelection -> m (Maybe Atom) Source #
setEventSelectionSelection :: MonadIO m => EventSelection -> Ptr Atom -> m () Source #
SendEvent
eventSelectionSendEvent :: AttrLabelProxy "sendEvent" Source #
getEventSelectionSendEvent :: MonadIO m => EventSelection -> m Int8 Source #
setEventSelectionSendEvent :: MonadIO m => EventSelection -> Int8 -> m () Source #
Target
clearEventSelectionTarget :: MonadIO m => EventSelection -> m () Source #
eventSelectionTarget :: AttrLabelProxy "target" Source #
getEventSelectionTarget :: MonadIO m => EventSelection -> m (Maybe Atom) Source #
setEventSelectionTarget :: MonadIO m => EventSelection -> Ptr Atom -> m () Source #
Time
eventSelectionTime :: AttrLabelProxy "time" Source #
getEventSelectionTime :: MonadIO m => EventSelection -> m Word32 Source #
setEventSelectionTime :: MonadIO m => EventSelection -> Word32 -> m () Source #
Type
eventSelectionType :: AttrLabelProxy "type" Source #
getEventSelectionType :: MonadIO m => EventSelection -> m EventType Source #
setEventSelectionType :: MonadIO m => EventSelection -> EventType -> m () Source #
Window
clearEventSelectionWindow :: MonadIO m => EventSelection -> m () Source #
eventSelectionWindow :: AttrLabelProxy "window" Source #
getEventSelectionWindow :: MonadIO m => EventSelection -> m (Maybe Window) Source #
setEventSelectionWindow :: MonadIO m => EventSelection -> Ptr Window -> m () Source #