GestureClick
Object Hierarchy:
Gtk.GestureClick
Gtk.GestureClick
Gtk.GestureClick
Gtk.GestureSingle
Gtk.GestureSingle
Gtk.GestureSingle->Gtk.GestureClick
Gtk.Gesture
Gtk.Gesture
Gtk.Gesture->Gtk.GestureSingle
Gtk.EventController
Gtk.EventController
Gtk.EventController->Gtk.Gesture
GLib.Object
GLib.Object
GLib.Object->Gtk.EventController
Description:
[
CCode ( type_id =
"gtk_gesture_click_get_type ()" ) ]
public class GestureClick :
GestureSingle
`GtkGestureClick` is a `GtkGesture` implementation for clicks.
It is able to recognize multiple clicks on a nearby zone, which can be listened for through the [signal@Gtk.GestureClick:
GtkGestureClick:pressed
] signal. Whenever time or distance between clicks exceed the GTK defaults, [signal@Gtk.GestureClick:
GtkGestureClick:stopped
] is emitted, and the click counter is reset.
Content:
Creation methods:
Signals:
public signal void pressed (int n_press, double x, double y)
Emitted whenever a button or touch press happens.
public signal void released (int n_press, double x, double y)
Emitted when a button or touch is released.
public signal void stopped ()
Emitted whenever any time/distance threshold has been exceeded.
public signal void unpaired_release (double x, double y, uint button, EventSequence ? sequence)
Emitted whenever the gesture receives a release event that had no previous
corresponding press.
Inherited Members:
All known members inherited from class Gtk.GestureSingle
All known members inherited from class Gtk.Gesture
All known members inherited from class Gtk.EventController
All known members inherited from class GLib.Object