GesturePan
Object Hierarchy:
Description:
`GtkGesturePan` is a `GtkGesture` for pan gestures.
These are drags that are locked to happen along one axis. The axis that a `GtkGesturePan` handles is defined at construct time, and can be changed through [method@Gtk.GesturePan.set_orientation].
When the gesture starts to be recognized, `GtkGesturePan` will attempt to determine as early as possible whether the sequence is moving in the expected direction, and denying the sequence if this does not happen.
Once a panning gesture along the expected axis is recognized, the [signal@Gtk.GesturePan:GtkGesturePan:pan
] signal will be emitted
as input events are received, containing the offset in the given axis.
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class Gtk.GestureDrag
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