Sets our main struct and passes it to the parent class.
Returns a newly created GtkGesture that recognizes single and multiple presses.
Emitted whenever a button or touch press happens.
Emitted when a button or touch is released.
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 the gesture receives a release event that had no previous corresponding press.
Get the main Gtk struct
the main Gtk struct as a void*
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Returns the button number @gesture listens for.
Returns the button number currently interacting with @gesture, or 0 if there is none.
Returns the event sequence currently interacting with @gesture.
Gets whether a gesture is exclusive.
Returns %TRUE if the gesture is only triggered by touch events.
Sets the button number @gesture listens to.
Sets whether @gesture is exclusive.
Sets whether to handle only touch events.
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.