GestureSwipe


Object Hierarchy:

Gtk.GestureSwipe Gtk.GestureSwipe Gtk.GestureSwipe Gtk.GestureSingle Gtk.GestureSingle Gtk.GestureSingle->Gtk.GestureSwipe Gtk.Gesture Gtk.Gesture Gtk.Gesture->Gtk.GestureSingle Gtk.EventController Gtk.EventController Gtk.EventController->Gtk.Gesture GLib.Object GLib.Object GLib.Object->Gtk.EventController

Description:

[ CCode ( type_id = "gtk_gesture_swipe_get_type ()" ) ]
public class GestureSwipe : GestureSingle

`GtkGestureSwipe` is a `GtkGesture` for swipe gestures.

After a press/move/.../move/release sequence happens, the [[email protected]: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, [[email protected]_velocity] can be called in a [[email protected]: 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 GLib.Object



2022 vala-language.org