Package: gdk
GBoxed gdk:event-touch
Declaration(define-gboxed-variant-cstruct event "GdkEvent" (type event-type) (window (g:object window)) (send-event (:boolean :int8)) (:variant type ... ((:touch-begin :touch-update :touch-end :touch-cancel) event-touch (time :uint32) (x :double) (y :double) (axes (fixed-array :double 2)) (state modifier-type) (sequence (g:boxed event-sequence)) (emulating-pointer :boolean) (device (g:object device)) (x-root :double) (y-root :double)) ... )) Values
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. | Slot Access FunctionsInherited Slot Access FunctionsSee also |
2024-6-28