GestureSwipe
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_gesture_swipe_get_type ()" ) ]
public sealed class GestureSwipe : GestureSingle
public sealed class GestureSwipe : GestureSingle
`GtkGestureSwipe` is a `GtkGesture` for swipe gestures.
After a press/move/.../move/release sequence happens, the [signal@Gtk.GestureSwipe:GtkGestureSwipe: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, [method@Gtk.GestureSwipe.get_velocity] can be called in a [signal@Gtk.Gesture:
GtkGestureSwipe:update
] handler.
All velocities are reported in pixels/sec units.
Namespace: Gtk
Package: gtk4
Content:
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class Gtk.GestureSingle
All known members inherited from class Gtk.Gesture
All known members inherited from class Gtk.EventController
All known members inherited from class GLib.Object