It derives from <GtkGestureSingle>.
Recognizes click gestures.
It is able to recognize multiple clicks on a nearby zone, which can be
listened for through the gesture-click:pressed signal. Whenever time or distance
between clicks exceed the GTK defaults, gesture-click:stopped is emitted, and the click counter is
reset.
Returns a newly created <GtkGesture> that
recognizes single and multiple presses.
Returned: a <GtkGesture>.
a newly created <GtkGestureClick>
Connect a handler with (connect object gesture-click:pressed
handler). It is called as (handler self n-press x y).
Emitted whenever a button or touch press happens.
Passed: a <GtkGestureClick>.
Passed: a 32-bit integer.
how many touch/button presses happened with this one
Passed: a real number.
The X coordinate, in widget allocation coordinates
Passed: a real number.
The Y coordinate, in widget allocation coordinates
Connect a handler with (connect object gesture-click:released
handler). It is called as (handler self n-press x y).
Emitted when a button or touch is released.
n-press will report the number of press that is paired to this
event, note that gesture-click:stopped may have been emitted between the press
and its release, n-press will only start over at the next press.
Passed: a <GtkGestureClick>.
Passed: a 32-bit integer.
number of press that is paired with this release
Passed: a real number.
The X coordinate, in widget allocation coordinates
Passed: a real number.
The Y coordinate, in widget allocation coordinates
Connect a handler with (connect object gesture-click:stopped
handler). It is called as (handler self).
Emitted whenever any time/distance threshold has been exceeded.
Passed: a <GtkGestureClick>.
Connect a handler with (connect object
gesture-click:unpaired-release handler). It is called as
(handler self x y button sequence).
Emitted whenever the gesture receives a release event that had no previous corresponding press.
Due to implicit grabs, this can only happen on situations where input is grabbed elsewhere mid-press or the pressed widget voluntarily relinquishes its implicit grab.
Passed: a <GtkGestureClick>.
Passed: a real number.
X coordinate of the event
Passed: a real number.
Y coordinate of the event
Passed: an unsigned 32-bit integer.
Button being released
Passed: a <GdkEventSequence>, or
#f.
Sequence being released