Package: gdk
GBoxed gdk-event-touch
Superclassesgdk-event, common-lisp:structure-object, common-lisp:t Documented Subclasses
None
Details
Used for touch events. The type field will be one of the :touch-begin, :touch-update, :touch-end or :touch-cancel values. Touch events are grouped into sequences by means of the sequence field, which can also be obtained with the gdk-event-event-sequence function. Each sequence begins with a :touch-begin event, followed by any number of :touch-update events, and ends with a :touch-end event or :touch-cancel event. With multitouch devices, there may be several active sequences at the same time.
(define-g-boxed-variant-cstruct gdk-event "GdkEvent"
(type gdk-event-type)
(window (g-object gdk-window))
(send-event (:boolean :int8))
(:variant type
...
((:touch-begin
:touch-update
:touch-end
:touch-cancel) gdk-event-touch
(time :uint32)
(x :double)
(y :double)
(axes (fixed-array :double 2))
(state gdk-modifier-type)
(sequence (g-boxed-foreign gdk-event-sequence))
(emulating-pointer :boolean)
(device (g-object gdk-device))
(x-root :double)
(y-root :double))
... ))
| Slot Access FunctionsInherited Slot Access FunctionsSee also |
2021-12-13