GtkGestureLongPress

GtkGestureLongPress — "Press and Hold" gesture

Functions

Types and Values

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.

Parameters

widget

a GtkWidget

 

Returns

a newly created GtkGestureLongPress

Since: 3.14

Types and Values

GtkGestureLongPress

typedef struct _GtkGestureLongPress GtkGestureLongPress;