Package org.gnome.gtk

Class GestureSwipe

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class GestureSwipe extends GestureSingle
GtkGestureSwipe is a GtkGesture for swipe gestures.

After a press/move/.../move/release sequence happens, the Gtk.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, getVelocity(io.github.jwharm.javagi.base.Out<java.lang.Double>, io.github.jwharm.javagi.base.Out<java.lang.Double>) can be called in a Gtk.Gesture::update handler.

All velocities are reported in pixels/sec units.