It derives from <GtkGestureSingle>.
Recognizes long press gestures.
This gesture is also known as “Press and Hold”.
When the timeout is exceeded, the gesture is triggering the
gesture-long-press:pressed
signal.
If the touchpoint is lifted before the timeout passes, or if it drifts
too far of the initial press point, the gesture-long-press:cancelled signal will be emitted.
How long the timeout is before the ::pressed signal gets emitted is
determined by the settings:gtk-long-press-time setting. It can be
modified by the gesture-long-press:delay-factor property.
Factor by which to modify the default timeout.
Its value is a real number.
Set it with (set! (gesture-long-press:delay-factor self) value).
Returns the delay factor.
Passed: a <GtkGestureLongPress>.
Returned: a real number.
the delay factor
Returns a newly created <GtkGesture> that
recognizes long presses.
Returned: a <GtkGesture>.
a newly created <GtkGestureLongPress>.
Applies the given delay factor.
The default long press time will be multiplied by this value. Valid values are in the range [0.5..2.0].
Passed: a <GtkGestureLongPress>.
Passed: a real number.
The delay factor to apply
Connect a handler with (connect object
gesture-long-press:cancelled handler). It is called as (handler
self).
Emitted whenever a press moved too far, or was released before
gesture-long-press:pressed
happened.
Passed: a <GtkGestureLongPress>.
Connect a handler with (connect object gesture-long-press:pressed
handler). It is called as (handler self x y).
Emitted whenever a press goes unmoved/unreleased longer than what the GTK defaults tell.
Passed: a <GtkGestureLongPress>.
Passed: a real number.
the X coordinate where the press happened, relative to the widget allocation
Passed: a real number.
the Y coordinate where the press happened, relative to the widget allocation