GtkGestureSwipe

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.

struct GtkGestureSwipe