gtk.gesture_long_press
Module for [GestureLongPress] class
Types 3
#GtkGestureLongPress is a #GtkGesture implementation able to recognize long presses, triggering the #GtkGestureLongPress::pressed after the timeout is exceeded.
If the touchpoint is lifted before the timeout passes, or if it drifts too far of the initial press point, the #GtkGestureLongPress::cancelled signal will be emitted.
Methods
GestureLongPress self()Returns `this`, for use in `with` statements.GestureLongPressGidBuilder builder()Get builder for [gtk.gesturelongpress.GestureLongPress] Returns: New builder objectdouble delayFactor() @propertyvoid delayFactor(double propval) @propertygulong connectCancelled(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.gesture_long_press.GestureLongPress)))
&& Parameters!T.length < 2)Connect to `Cancelled` signal.gulong connectPressed(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.gesture_long_press.GestureLongPress)))
&& Parameters!T.length < 4)Connect to `Pressed` signal.Constructors
this(gtk.widget.Widget widget)Returns a newly created #GtkGesture that recognizes long presses.Methods
T delayFactor(double propval)Fluent builder for [gtk.gesture_long_press.GestureLongPress]
Methods