Returns a newly created gtk.gesture.Gesture that recognizes swipes.
Connect to Swipe signal.
Gets the current velocity.
Returns the button number gesture listens for.
Returns the button number currently interacting with gesture, or 0 if there is none.
Returns the event sequence currently interacting with gesture.
Gets whether a gesture is exclusive.
Returns true if the gesture is only triggered by touch events.
Sets the button number gesture listens to.
Sets whether gesture is exclusive.
Sets whether to handle only touch events.
gtk.gesture_swipe.GestureSwipe is a gtk.gesture.Gesture for swipe gestures.
After a press/move/.../move/release sequence happens, the gtk.gesture_swipe.GestureSwipe.swipe signal will be emitted, providing the velocity and directionality of the sequence at the time it was lifted.
If the velocity is desired in intermediate points, gtk.gesture_swipe.GestureSwipe.getVelocity can be called in a gtk.gesture.Gesture.update handler.
All velocities are reported in pixels/sec units.