Package: gtk

Function gtk:gesture-drag-offset

Lambda List

gtk:gesture-drag-offset (gesture)

Syntax

(gtk:gesture-drag-offset gesture) => x, y

Arguments

gesture -- a gtk:gesture-drag object
x -- a double float for the x offset of the current point
y -- a double float for the y offset of the current point

Details

If the gesture is active, this function returns the coordinates of the current point, as an offset to the starting drag point, otherwise nil is returned.
 

See also

2025-07-26