Package: gtk

Function gtk:gesture-point

Lambda List

gtk:gesture-point (gesture sequence)

Syntax

(gtk:gesture-point gesture sequence) => x, y

Arguments

gesture -- a gtk:gesture object
sequence -- a gdk:event-sequence instance, or nil for pointer events
x -- a double float for the x axis of the sequence coordinates
y -- a double float for the y axis of the sequence coordinates

Details

If sequence is currently being interpreted by gesture, this function returns x and y with the last coordinates stored for that event sequence. The coordinates are always relative to the widget allocation.
 

See also

#2025-07-26