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 |
- Exported types
- Methods
- copy
- free
- get
- getAxis
- getButton
- getClickCount
- getCoords
- getDevice
- getDeviceTool
- getEventSequence
- getEventType
- getKeycode
- getKeyval
- getPointerEmulated
- getRootCoords
- getScancode
- getScreen
- getScrollDeltas
- getScrollDirection
- getSeat
- getSourceDevice
- getState
- getTime
- getWindow
- handlerSet
- isScrollStopEvent
- new
- peek
- put
- requestMotions
- setDevice
- setDeviceTool
- setScreen
- setSourceDevice
- triggersContextMenu
- Properties
A Event
contains a union of all of the event types,
and allows access to the data fields in a number of ways.
The event type is always the first field in all of the event types, and can always be accessed with the following code, no matter what type of event it is:
C code
GdkEvent *event; GdkEventType type; type = event->type;
To access other fields of the event, the pointer to the event
can be cast to the appropriate event type, or the union member
name can be used. For example if the event type is EventTypeButtonPress
then the x coordinate of the button press can be accessed with:
C code
GdkEvent *event; gdouble x; x = ((GdkEventButton*)event)->x;
or:
C code
GdkEvent *event; gdouble x; x = event->button.x;
- newtype Event = Event (ManagedPtr Event)
- newZeroEvent :: MonadIO m => m Event
- noEvent :: Maybe Event
- data EventCopyMethodInfo
- eventCopy :: (HasCallStack, MonadIO m) => Event -> m Event
- data EventFreeMethodInfo
- eventFree :: (HasCallStack, MonadIO m) => Event -> m ()
- eventGet :: (HasCallStack, MonadIO m) => m (Maybe Event)
- data EventGetAxisMethodInfo
- eventGetAxis :: (HasCallStack, MonadIO m) => Event -> AxisUse -> m (Bool, Double)
- data EventGetButtonMethodInfo
- eventGetButton :: (HasCallStack, MonadIO m) => Event -> m (Bool, Word32)
- data EventGetClickCountMethodInfo
- eventGetClickCount :: (HasCallStack, MonadIO m) => Event -> m (Bool, Word32)
- data EventGetCoordsMethodInfo
- eventGetCoords :: (HasCallStack, MonadIO m) => Event -> m (Bool, Double, Double)
- data EventGetDeviceMethodInfo
- eventGetDevice :: (HasCallStack, MonadIO m) => Event -> m (Maybe Device)
- data EventGetDeviceToolMethodInfo
- eventGetDeviceTool :: (HasCallStack, MonadIO m) => Event -> m DeviceTool
- data EventGetEventSequenceMethodInfo
- eventGetEventSequence :: (HasCallStack, MonadIO m) => Event -> m EventSequence
- data EventGetEventTypeMethodInfo
- eventGetEventType :: (HasCallStack, MonadIO m) => Event -> m EventType
- data EventGetKeycodeMethodInfo
- eventGetKeycode :: (HasCallStack, MonadIO m) => Event -> m (Bool, Word16)
- data EventGetKeyvalMethodInfo
- eventGetKeyval :: (HasCallStack, MonadIO m) => Event -> m (Bool, Word32)
- data EventGetPointerEmulatedMethodInfo
- eventGetPointerEmulated :: (HasCallStack, MonadIO m) => Event -> m Bool
- data EventGetRootCoordsMethodInfo
- eventGetRootCoords :: (HasCallStack, MonadIO m) => Event -> m (Bool, Double, Double)
- data EventGetScancodeMethodInfo
- eventGetScancode :: (HasCallStack, MonadIO m) => Event -> m Int32
- data EventGetScreenMethodInfo
- eventGetScreen :: (HasCallStack, MonadIO m) => Event -> m Screen
- data EventGetScrollDeltasMethodInfo
- eventGetScrollDeltas :: (HasCallStack, MonadIO m) => Event -> m (Bool, Double, Double)
- data EventGetScrollDirectionMethodInfo
- eventGetScrollDirection :: (HasCallStack, MonadIO m) => Event -> m (Bool, ScrollDirection)
- data EventGetSeatMethodInfo
- eventGetSeat :: (HasCallStack, MonadIO m) => Event -> m Seat
- data EventGetSourceDeviceMethodInfo
- eventGetSourceDevice :: (HasCallStack, MonadIO m) => Event -> m (Maybe Device)
- data EventGetStateMethodInfo
- eventGetState :: (HasCallStack, MonadIO m) => Event -> m (Bool, [ModifierType])
- data EventGetTimeMethodInfo
- eventGetTime :: (HasCallStack, MonadIO m) => Event -> m Word32
- data EventGetWindowMethodInfo
- eventGetWindow :: (HasCallStack, MonadIO m) => Event -> m Window
- eventHandlerSet :: (HasCallStack, MonadIO m) => EventFunc -> m ()
- data EventIsScrollStopEventMethodInfo
- eventIsScrollStopEvent :: (HasCallStack, MonadIO m) => Event -> m Bool
- eventNew :: (HasCallStack, MonadIO m) => EventType -> m Event
- eventPeek :: (HasCallStack, MonadIO m) => m (Maybe Event)
- data EventPutMethodInfo
- eventPut :: (HasCallStack, MonadIO m) => Event -> m ()
- eventRequestMotions :: (HasCallStack, MonadIO m) => EventMotion -> m ()
- data EventSetDeviceMethodInfo
- eventSetDevice :: (HasCallStack, MonadIO m, IsDevice a) => Event -> a -> m ()
- data EventSetDeviceToolMethodInfo
- eventSetDeviceTool :: (HasCallStack, MonadIO m, IsDeviceTool a) => Event -> Maybe a -> m ()
- data EventSetScreenMethodInfo
- eventSetScreen :: (HasCallStack, MonadIO m, IsScreen a) => Event -> a -> m ()
- data EventSetSourceDeviceMethodInfo
- eventSetSourceDevice :: (HasCallStack, MonadIO m, IsDevice a) => Event -> a -> m ()
- data EventTriggersContextMenuMethodInfo
- eventTriggersContextMenu :: (HasCallStack, MonadIO m) => Event -> m Bool
- event_any :: AttrLabelProxy "any"
- getEventAny :: MonadIO m => Event -> m EventAny
- event_button :: AttrLabelProxy "button"
- getEventButton :: MonadIO m => Event -> m EventButton
- event_configure :: AttrLabelProxy "configure"
- getEventConfigure :: MonadIO m => Event -> m EventConfigure
- event_crossing :: AttrLabelProxy "crossing"
- getEventCrossing :: MonadIO m => Event -> m EventCrossing
- event_dnd :: AttrLabelProxy "dnd"
- getEventDnd :: MonadIO m => Event -> m EventDND
- event_expose :: AttrLabelProxy "expose"
- getEventExpose :: MonadIO m => Event -> m EventExpose
- event_focusChange :: AttrLabelProxy "focusChange"
- getEventFocusChange :: MonadIO m => Event -> m EventFocus
- event_grabBroken :: AttrLabelProxy "grabBroken"
- getEventGrabBroken :: MonadIO m => Event -> m EventGrabBroken
- event_key :: AttrLabelProxy "key"
- getEventKey :: MonadIO m => Event -> m EventKey
- event_motion :: AttrLabelProxy "motion"
- getEventMotion :: MonadIO m => Event -> m EventMotion
- event_ownerChange :: AttrLabelProxy "ownerChange"
- getEventOwnerChange :: MonadIO m => Event -> m EventOwnerChange
- event_padAxis :: AttrLabelProxy "padAxis"
- getEventPadAxis :: MonadIO m => Event -> m EventPadAxis
- event_padButton :: AttrLabelProxy "padButton"
- getEventPadButton :: MonadIO m => Event -> m EventPadButton
- event_padGroupMode :: AttrLabelProxy "padGroupMode"
- getEventPadGroupMode :: MonadIO m => Event -> m EventPadGroupMode
- event_property :: AttrLabelProxy "property"
- getEventProperty :: MonadIO m => Event -> m EventProperty
- event_proximity :: AttrLabelProxy "proximity"
- getEventProximity :: MonadIO m => Event -> m EventProximity
- event_scroll :: AttrLabelProxy "scroll"
- getEventScroll :: MonadIO m => Event -> m EventScroll
- event_selection :: AttrLabelProxy "selection"
- getEventSelection :: MonadIO m => Event -> m EventSelection
- event_setting :: AttrLabelProxy "setting"
- getEventSetting :: MonadIO m => Event -> m EventSetting
- event_touch :: AttrLabelProxy "touch"
- getEventTouch :: MonadIO m => Event -> m EventTouch
- event_touchpadPinch :: AttrLabelProxy "touchpadPinch"
- getEventTouchpadPinch :: MonadIO m => Event -> m EventTouchpadPinch
- event_touchpadSwipe :: AttrLabelProxy "touchpadSwipe"
- getEventTouchpadSwipe :: MonadIO m => Event -> m EventTouchpadSwipe
- event_type :: AttrLabelProxy "type"
- getEventType :: MonadIO m => Event -> m EventType
- setEventType :: MonadIO m => Event -> EventType -> m ()
- event_visibility :: AttrLabelProxy "visibility"
- getEventVisibility :: MonadIO m => Event -> m EventVisibility
- event_windowState :: AttrLabelProxy "windowState"
- getEventWindowState :: MonadIO m => Event -> m EventWindowState
Exported types
Methods
copy
data EventCopyMethodInfo Source #
((~) * signature (m Event), MonadIO m) => MethodInfo * EventCopyMethodInfo Event signature Source # | |
free
data EventFreeMethodInfo Source #
((~) * signature (m ()), MonadIO m) => MethodInfo * EventFreeMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m () |
get
:: (HasCallStack, MonadIO m) | |
=> m (Maybe Event) | Returns: the next |
Checks all open displays for a Event
to process,to be processed
on, fetching events from the windowing system if necessary.
See displayGetEvent
.
getAxis
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> AxisUse |
|
-> m (Bool, Double) | Returns: |
Extract the axis value for a particular axis use from an event structure.
getButton
data EventGetButtonMethodInfo Source #
((~) * signature (m (Bool, Word32)), MonadIO m) => MethodInfo * EventGetButtonMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m (Bool, Word32) | Returns: |
Extract the button number from an event.
Since: 3.2
getClickCount
data EventGetClickCountMethodInfo Source #
((~) * signature (m (Bool, Word32)), MonadIO m) => MethodInfo * EventGetClickCountMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m (Bool, Word32) | Returns: |
Extracts the click count from an event.
Since: 3.2
getCoords
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m (Bool, Double, Double) | Returns: |
Extract the event window relative x/y coordinates from an event.
getDevice
data EventGetDeviceMethodInfo Source #
((~) * signature (m (Maybe Device)), MonadIO m) => MethodInfo * EventGetDeviceMethodInfo Event signature Source # | |
If the event contains a “device” field, this function will return
it, else it will return Nothing
.
Since: 3.0
getDeviceTool
data EventGetDeviceToolMethodInfo Source #
((~) * signature (m DeviceTool), MonadIO m) => MethodInfo * EventGetDeviceToolMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m DeviceTool | Returns: The current device tool, or |
If the event was generated by a device that supports
different tools (eg. a tablet), this function will
return a DeviceTool
representing the tool that
caused the event. Otherwise, Nothing
will be returned.
Note: the DeviceTool
<!-- -->s will be constant during
the application lifetime, if settings must be stored
persistently across runs, see deviceToolGetSerial
Since: 3.22
getEventSequence
data EventGetEventSequenceMethodInfo Source #
((~) * signature (m EventSequence), MonadIO m) => MethodInfo * EventGetEventSequenceMethodInfo Event signature Source # | |
eventGetEventSequence Source #
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m EventSequence | Returns: the event sequence that the event belongs to |
If event
if of type EventTypeTouchBegin
, EventTypeTouchUpdate
,
EventTypeTouchEnd
or EventTypeTouchCancel
, returns the EventSequence
to which the event belongs. Otherwise, return Nothing
.
Since: 3.4
getEventType
data EventGetEventTypeMethodInfo Source #
((~) * signature (m EventType), MonadIO m) => MethodInfo * EventGetEventTypeMethodInfo Event signature Source # | |
Retrieves the type of the event.
Since: 3.10
getKeycode
data EventGetKeycodeMethodInfo Source #
((~) * signature (m (Bool, Word16)), MonadIO m) => MethodInfo * EventGetKeycodeMethodInfo Event signature Source # | |
getKeyval
data EventGetKeyvalMethodInfo Source #
((~) * signature (m (Bool, Word32)), MonadIO m) => MethodInfo * EventGetKeyvalMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m (Bool, Word32) | Returns: |
Extracts the keyval from an event.
Since: 3.2
getPointerEmulated
data EventGetPointerEmulatedMethodInfo Source #
((~) * signature (m Bool), MonadIO m) => MethodInfo * EventGetPointerEmulatedMethodInfo Event signature Source # | |
eventGetPointerEmulated Source #
:: (HasCallStack, MonadIO m) | |
=> Event | |
-> m Bool | Returns: |
event
: a Event
Returns whether this event is an 'emulated' pointer event (typically
from a touch event), as opposed to a real one.
Since: 3.22
getRootCoords
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m (Bool, Double, Double) | Returns: |
Extract the root window relative x/y coordinates from an event.
getScancode
data EventGetScancodeMethodInfo Source #
((~) * signature (m Int32), MonadIO m) => MethodInfo * EventGetScancodeMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m Int32 | Returns: The associated keyboard scancode or 0 |
Gets the keyboard low-level scancode of a key event.
This is usually hardware_keycode. On Windows this is the high word of WM_KEY{DOWN,UP} lParam which contains the scancode and some extended flags.
Since: 3.22
getScreen
data EventGetScreenMethodInfo Source #
((~) * signature (m Screen), MonadIO m) => MethodInfo * EventGetScreenMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m Screen | Returns: the screen for the event |
Returns the screen for the event. The screen is
typically the screen for event->any.window
, but
for events such as mouse events, it is the screen
where the pointer was when the event occurs -
that is, the screen which has the root window
to which event->motion.x_root
and
event->motion.y_root
are relative.
Since: 2.2
getScrollDeltas
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m (Bool, Double, Double) | Returns: |
Retrieves the scroll deltas from a Event
Since: 3.4
getScrollDirection
data EventGetScrollDirectionMethodInfo Source #
((~) * signature (m (Bool, ScrollDirection)), MonadIO m) => MethodInfo * EventGetScrollDirectionMethodInfo Event signature Source # | |
eventGetScrollDirection Source #
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m (Bool, ScrollDirection) | Returns: |
Extracts the scroll direction from an event.
Since: 3.2
getSeat
data EventGetSeatMethodInfo Source #
((~) * signature (m Seat), MonadIO m) => MethodInfo * EventGetSeatMethodInfo Event signature Source # | |
Returns the Seat
this event was generated for.
Since: 3.20
getSourceDevice
data EventGetSourceDeviceMethodInfo Source #
((~) * signature (m (Maybe Device)), MonadIO m) => MethodInfo * EventGetSourceDeviceMethodInfo Event signature Source # | |
This function returns the hardware (slave) Device
that has
triggered the event, falling back to the virtual (master) device
(as in eventGetDevice
) if the event wasn’t caused by
interaction with a hardware device. This may happen for example
in synthesized crossing events after a Window
updates its
geometry or a grab is acquired/released.
If the event does not contain a device field, this function will
return Nothing
.
Since: 3.0
getState
data EventGetStateMethodInfo Source #
((~) * signature (m (Bool, [ModifierType])), MonadIO m) => MethodInfo * EventGetStateMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event | |
-> m (Bool, [ModifierType]) | Returns: |
getTime
data EventGetTimeMethodInfo Source #
((~) * signature (m Word32), MonadIO m) => MethodInfo * EventGetTimeMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m Word32 | Returns: time stamp field from |
Returns the time stamp from event
, if there is one; otherwise
returns CURRENT_TIME
. If event
is Nothing
, returns CURRENT_TIME
.
getWindow
data EventGetWindowMethodInfo Source #
((~) * signature (m Window), MonadIO m) => MethodInfo * EventGetWindowMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m Window | Returns: The |
Extracts the Window
associated with an event.
Since: 3.10
handlerSet
:: (HasCallStack, MonadIO m) | |
=> EventFunc |
|
-> m () |
Sets the function to call to handle all events from GDK.
Note that GTK+ uses this to install its own event handler, so it is
usually not useful for GTK+ applications. (Although an application
can call this function then call gtk_main_do_event()
to pass
events to GTK+.)
isScrollStopEvent
data EventIsScrollStopEventMethodInfo Source #
((~) * signature (m Bool), MonadIO m) => MethodInfo * EventIsScrollStopEventMethodInfo Event signature Source # | |
eventIsScrollStopEvent Source #
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m Bool | Returns: |
Check whether a scroll event is a stop scroll event. Scroll sequences with smooth scroll information may provide a stop scroll event once the interaction with the device finishes, e.g. by lifting a finger. This stop scroll event is the signal that a widget may trigger kinetic scrolling based on the current velocity.
Stop scroll events always have a a delta of 0/0.
Since: 3.20
new
:: (HasCallStack, MonadIO m) | |
=> EventType |
|
-> m Event | Returns: a newly-allocated |
Creates a new event of the given type. All fields are set to 0.
Since: 2.2
peek
:: (HasCallStack, MonadIO m) | |
=> m (Maybe Event) | Returns: a copy of the first |
If there is an event waiting in the event queue of some open
display, returns a copy of it. See displayPeekEvent
.
put
data EventPutMethodInfo Source #
((~) * signature (m ()), MonadIO m) => MethodInfo * EventPutMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m () |
Appends a copy of the given event onto the front of the event
queue for event->any.window’s display, or the default event
queue if event->any.window is Nothing
. See displayPutEvent
.
requestMotions
:: (HasCallStack, MonadIO m) | |
=> EventMotion |
|
-> m () |
Request more motion notifies if event
is a motion notify hint event.
This function should be used instead of windowGetPointer
to
request further motion notifies, because it also works for extension
events where motion notifies are provided for devices other than the
core pointer. Coordinate extraction, processing and requesting more
motion events from a EventTypeMotionNotify
event usually works like this:
C code
{ // motion_event handler x = motion_event->x; y = motion_event->y; // handle (x,y) motion gdk_event_request_motions (motion_event); // handles is_hint events }
Since: 2.12
setDevice
data EventSetDeviceMethodInfo Source #
((~) * signature (a -> m ()), MonadIO m, IsDevice a) => MethodInfo * EventSetDeviceMethodInfo Event signature Source # | |
Sets the device for event
to device
. The event must
have been allocated by GTK+, for instance, by
eventCopy
.
Since: 3.0
setDeviceTool
data EventSetDeviceToolMethodInfo Source #
((~) * signature (Maybe a -> m ()), MonadIO m, IsDeviceTool a) => MethodInfo * EventSetDeviceToolMethodInfo Event signature Source # | |
:: (HasCallStack, MonadIO m, IsDeviceTool a) | |
=> Event |
|
-> Maybe a |
|
-> m () |
Sets the device tool for this event, should be rarely used.
Since: 3.22
setScreen
data EventSetScreenMethodInfo Source #
((~) * signature (a -> m ()), MonadIO m, IsScreen a) => MethodInfo * EventSetScreenMethodInfo Event signature Source # | |
Sets the screen for event
to screen
. The event must
have been allocated by GTK+, for instance, by
eventCopy
.
Since: 2.2
setSourceDevice
data EventSetSourceDeviceMethodInfo Source #
((~) * signature (a -> m ()), MonadIO m, IsDevice a) => MethodInfo * EventSetSourceDeviceMethodInfo Event signature Source # | |
Sets the slave device for event
to device
.
The event must have been allocated by GTK+,
for instance by eventCopy
.
Since: 3.0
triggersContextMenu
data EventTriggersContextMenuMethodInfo Source #
((~) * signature (m Bool), MonadIO m) => MethodInfo * EventTriggersContextMenuMethodInfo Event signature Source # | |
eventTriggersContextMenu Source #
:: (HasCallStack, MonadIO m) | |
=> Event |
|
-> m Bool | Returns: |
This function returns whether a EventButton
should trigger a
context menu, according to platform conventions. The right mouse
button always triggers context menus. Additionally, if
keymapGetModifierMask
returns a non-0 mask for
ModifierIntentContextMenu
, then the left mouse button will
also trigger a context menu if this modifier is pressed.
This function should always be used instead of simply checking for
event->button == BUTTON_SECONDARY
.
Since: 3.4
Properties
any
event_any :: AttrLabelProxy "any" Source #
button
event_button :: AttrLabelProxy "button" Source #
getEventButton :: MonadIO m => Event -> m EventButton Source #
configure
event_configure :: AttrLabelProxy "configure" Source #
getEventConfigure :: MonadIO m => Event -> m EventConfigure Source #
crossing
event_crossing :: AttrLabelProxy "crossing" Source #
getEventCrossing :: MonadIO m => Event -> m EventCrossing Source #
dnd
event_dnd :: AttrLabelProxy "dnd" Source #
expose
event_expose :: AttrLabelProxy "expose" Source #
getEventExpose :: MonadIO m => Event -> m EventExpose Source #
focusChange
event_focusChange :: AttrLabelProxy "focusChange" Source #
getEventFocusChange :: MonadIO m => Event -> m EventFocus Source #
grabBroken
event_grabBroken :: AttrLabelProxy "grabBroken" Source #
getEventGrabBroken :: MonadIO m => Event -> m EventGrabBroken Source #
key
event_key :: AttrLabelProxy "key" Source #
motion
event_motion :: AttrLabelProxy "motion" Source #
getEventMotion :: MonadIO m => Event -> m EventMotion Source #
ownerChange
event_ownerChange :: AttrLabelProxy "ownerChange" Source #
getEventOwnerChange :: MonadIO m => Event -> m EventOwnerChange Source #
padAxis
event_padAxis :: AttrLabelProxy "padAxis" Source #
getEventPadAxis :: MonadIO m => Event -> m EventPadAxis Source #
padButton
event_padButton :: AttrLabelProxy "padButton" Source #
getEventPadButton :: MonadIO m => Event -> m EventPadButton Source #
padGroupMode
event_padGroupMode :: AttrLabelProxy "padGroupMode" Source #
getEventPadGroupMode :: MonadIO m => Event -> m EventPadGroupMode Source #
property
event_property :: AttrLabelProxy "property" Source #
getEventProperty :: MonadIO m => Event -> m EventProperty Source #
proximity
event_proximity :: AttrLabelProxy "proximity" Source #
getEventProximity :: MonadIO m => Event -> m EventProximity Source #
scroll
event_scroll :: AttrLabelProxy "scroll" Source #
getEventScroll :: MonadIO m => Event -> m EventScroll Source #
selection
event_selection :: AttrLabelProxy "selection" Source #
getEventSelection :: MonadIO m => Event -> m EventSelection Source #
setting
event_setting :: AttrLabelProxy "setting" Source #
getEventSetting :: MonadIO m => Event -> m EventSetting Source #
touch
event_touch :: AttrLabelProxy "touch" Source #
getEventTouch :: MonadIO m => Event -> m EventTouch Source #
touchpadPinch
event_touchpadPinch :: AttrLabelProxy "touchpadPinch" Source #
getEventTouchpadPinch :: MonadIO m => Event -> m EventTouchpadPinch Source #
touchpadSwipe
event_touchpadSwipe :: AttrLabelProxy "touchpadSwipe" Source #
getEventTouchpadSwipe :: MonadIO m => Event -> m EventTouchpadSwipe Source #
type
event_type :: AttrLabelProxy "type" Source #
visibility
event_visibility :: AttrLabelProxy "visibility" Source #
getEventVisibility :: MonadIO m => Event -> m EventVisibility Source #
windowState
event_windowState :: AttrLabelProxy "windowState" Source #
getEventWindowState :: MonadIO m => Event -> m EventWindowState Source #