Package: gtk

Function gtk:gesture-drag-offset

Lambda List

gtk:gesture-drag-offset (gesture)

Arguments

gesture -- a gtk:gesture-drag object

Return Value

x -- a double float with the x offset for the current point
y -- a double float with the y offset for 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

2024-2-19