It derives from <GtkGestureDrag>.
Recognizes 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 gesture-pan: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
gesture-pan:pan signal will be
emitted as input events are received, containing the offset in the given
axis.
The expected orientation of pan gestures.
Its value is a <GtkOrientation> (or, to set
it, one of its symbols).
Set it with (set! (gesture-pan:orientation self) value).
Returns the orientation of the pan gestures that this self expects.
Passed: a <GtkGesturePan>.
Returned: a <GtkOrientation>.
the expected orientation for pan gestures
Returns a newly created <GtkGesture> that
recognizes pan gestures.
Passed: a <GtkOrientation>, or one of its
symbols.
expected orientation
Returned: a <GtkGesture>.
a newly created <GtkGesturePan>
Sets the orientation to be expected on pan gestures.
Passed: a <GtkGesturePan>.
Passed: a <GtkOrientation>, or one of its
symbols.
expected orientation
Connect a handler with (connect object gesture-pan:pan handler).
It is called as (handler self direction offset).
Emitted once a panning gesture along the expected axis is detected.
Passed: a <GtkGesturePan>.
Passed: a <GtkPanDirection>.
current direction of the pan gesture
Passed: a real number.
Offset along the gesture orientation