Package: gdk

Struct gdk-event-touchpad-pinch

Superclasses

gdk-event, common-lisp:structure-object, common-lisp:t

Documented Subclasses

None

Details

Generated during touchpad swipe gestures.
(define-g-boxed-variant-cstruct gdk-event "GdkEvent"
  (type gdk-event-type)
  (window (g-object gdk-window))
  (send-event (:boolean :int8))
  (:variant type
            ...
            ;; GdkEventTouchpadPinch
            ((:touchpad-pinch) gdk-event-touchpad-pinch
             (phase :int8)
             (n-fingers :int8)
             (time :uint32)
             (x :double)
             (y :double)
             (dx :double)
             (dy :double)
             (angle-delta :double)
             (scale :double)
             (x-root :double)
             (y-root :double)
             (state gdk-modifier-type))
  ... ))  
type
The gdk-event-type of the event, the :touchpad-pinch value.
window
The gdk-window object which received the event.
send-event
True if the event was sent explicitly.
phase
The current phase of the gesture.
n-fingers
The number of fingers triggering the swipe.
time
An 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
A double float movement delta in the x axis of the swipe focal point.
dy
A double float movement delta in the y axis of the swipe focal point.
angle-delta
A double float with the angle change in radians, negative angles denote counter-clockwise movements.
scale
A double float with the current scale, relative to that at the time of the corresponding :begin value of the gdk-touchpad-gesture-phase enumeration.
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, e.g. the Control, Shift and Alt keys, and the pointer buttons.
Since 3.18
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-12-13