Package: gtk

Function gtk:gesture-swipe-velocity

Lambda List

gtk:gesture-swipe-velocity (gesture)

Arguments

gesture -- a gtk:gesture-swipe object

Return Value

xvel -- a double float with the velocity in the x axis, in pixels/sec.
yvel -- a double float with the velocity in the y axis, in pixels/sec.

Details

If the gesture is recognized, this function returns the recorded velocity, as per the last event(s) processed, otherwise nil is returned.
 

See also

2024-2-19