Package org.gnome.gtk

Class GestureLongPress

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class GestureLongPress extends GestureSingle
GtkGestureLongPress is a GtkGesture for long presses.

This gesture is also known as “Press and Hold”.

When the timeout is exceeded, the gesture is triggering the Gtk.GestureLongPress::pressed signal.

If the touchpoint is lifted before the timeout passes, or if it drifts too far of the initial press point, the Gtk.GestureLongPress::cancelled signal will be emitted.

How long the timeout is before the ::pressed signal gets emitted is determined by the Gtk.Settings:gtk-long-press-time setting. It can be modified by the Gtk.GestureLongPress:delay-factor property.