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
Emitted when the gesture is recognized.
Emitted whenever a sequence is cancelled.
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 whenever a button or touch press happens.
Emitted when a button or touch is released.
Emitted whenever a sequence state changes.
Emitted whenever any time/distance threshold has been exceeded.
Emitted whenever the gesture receives a release event that had no previous corresponding press.
Emitted whenever an event is handled while the gesture is recognized.
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.
Sets the state of @sequence in @gesture.
Sets the state of all sequences that @gesture is currently interacting with.
Sets a name on the controller that can be used for debugging.