GtkGestureLongPress
GtkGestureLongPress — "Press and Hold" gesture
|
|
Includes
#include <gtk/gtk.h>
Description
GtkGestureLongPress is a GtkGesture implementation able to recognize
long presses, triggering the “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 “cancelled”
signal will be emitted.
Functions
gtk_gesture_long_press_new ()
GtkGesture *
gtk_gesture_long_press_new (GtkWidget *widget);
Returns a newly created GtkGesture that recognizes long presses.
Since: 3.14
Types and Values
GtkGestureLongPress
typedef struct _GtkGestureLongPress GtkGestureLongPress;
Property Details
The “delay-factor” property
“delay-factor” gdouble
Factor by which to modify the default timeout.
Owner: GtkGestureLongPress
Flags: Read / Write
Allowed values: [0.5,2]
Default value: 1