Package: gdk

GBoxed gdk:event-touchpad-swipe

Declaration

(define-gboxed-variant-cstruct event "GdkEvent"
  (type event-type)
  (window (g:object window))
  (send-event (:boolean :int8))
  (:variant type
            ...
            ((:touchpad-swipe) event-touchpad-swipe
             (phase :int8)
             (n-fingers :int8)
             (time :uint32)
             (x :double)
             (y :double)
             (dx :double)
             (dy :double)
             (x-root :double)
             (y-root :double)
             (state modifier-type))
  ... ))  

Values

type
The gdk:event-type type of the event, the :touchpad-swipe value.
window
The gdk:window object which received the event.
send-event
True if the event was sent explicitly.
phase
The integer with the current phase of the gesture.
n-fingers
The integer with the number of fingers triggering the swipe.
time
The unsigned integer with the time of the event in milliseconds.
x
The double float x coordinate of the pointer.
y
The double float y coordinate of the pointer.
dx
The double float with the movement delta in the x axis of the swipe focal point.
dy
The double float with the movement delta in the y axis of the swipe focal point.
x-root
The double float x coordinate of the pointer, relative to the root of the screen.
y-root
The double float y coordinate of the pointer, relative to the root of the screen.
state
The gdk:modifier-type bit-mask representing the state of the modifier keys, for example, the Control, Shift and Alt keys, and the pointer buttons.

Details

Generated during touchpad swipe gestures.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2024-6-28