Enumeration (GI Enum)

Clutter-18ClutterTouchpadGesturePhase

The phase of a touchpad gesture event.

All gestures are guaranteed to begin with an event of type Clutter.TouchpadGesturePhase.BEGIN, followed by a number of Clutter.TouchpadGesturePhase.UPDATE (possibly 0).

A finished gesture may have 2 possible outcomes, an event with phase Clutter.TouchpadGesturePhase.END will be emitted when the gesture is considered successful, this should be used as the hint to perform any permanent changes.

Cancelled gestures may be so for a variety of reasons, due to hardware, or due to the gesture recognition layers hinting the gesture did not finish resolutely (eg. a 3rd finger being added during a pinch gesture). In these cases, the last event with report the phase Clutter.TouchpadGesturePhase.CANCEL, this should be used as a hint to undo any visible/permanent changes that were done throughout the progress of the gesture.

See also Clutter.TouchpadPinchEvent and Clutter.TouchpadPinchEvent.4

Index

Enumeration Members

Enumeration Members

BEGIN: number

The gesture has begun.

CANCEL: number

The gesture was cancelled, all changes should be undone.

END: number

The gesture was finished, changes should be permanently applied.

UPDATE: number

The gesture has been updated.

Variables

$gtype