Package: gtk

Function gtk:gesture-point

Lambda List

gtk:gesture-point (gesture sequence)

Arguments

gesture -- a gtk:gesture object
sequence -- a gdk:event-sequence instance, or nil for pointer events

Return Value

x -- a double float with the x axis of the sequence coordinates
y -- a double float with 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

#2024-7-27