GestureClick
GtkGestureClick
is a GtkGesture
implementation for clicks.
It is able to recognize multiple clicks on a nearby zone, which can be listened for through the signal@Gtk.GestureClick::pressed signal. Whenever time or distance between clicks exceed the GTK defaults, signal@Gtk.GestureClick::stopped is emitted, and the click counter is reset.
Constructors
Properties
Functions
Emits the "cancel" signal. See onCancel.
Emits the "pressed" signal. See onPressed.
Emits the "released" signal. See onReleased.
Emits the "sequence-state-changed" signal. See onSequenceStateChanged.
Emits the "stopped" signal. See onStopped.
Emits the "unpaired-release" signal. See onUnpairedRelease.
Emits the "update" signal. See onUpdate.
If there are touch sequences being currently handled by @gesture, returns true and fills in @rect with the bounding box containing all active touches.
Returns the button number currently interacting with @gesture, or 0 if there is none.
Returns the event that is currently being handled by the controller.
Returns the device of the event that is currently being handled by the controller.
Returns the modifier state of the event that is currently being handled by the controller.
Returns the timestamp of the event that is currently being handled by the controller.
Returns the event sequence currently interacting with @gesture.
Returns the last event that was processed for @sequence.
Returns the GdkEventSequence
that was last updated on @gesture.
Returns the list of GdkEventSequences
currently being interpreted by @gesture.
Returns the @sequence state, as seen by @gesture.
Returns true if @gesture is currently handling events corresponding to @sequence.
Returns true if both gestures pertain to the same group.
Returns true if the gesture is currently recognized.
Emitted when @gesture either stopped recognizing the event sequences as something to be handled, or the number of touch sequences became higher or lower than property@Gtk.Gesture:n-points.
Emitted when a button or touch is released.
Emitted whenever a sequence state changes.
Emitted whenever the gesture receives a release event that had no previous corresponding press.
This is deprecated since version 4.10..
Sets the state of all sequences that @gesture is currently interacting with.
Sets a name on the controller that can be used for debugging.