GestureMultiPress
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_gesture_multi_press_get_type ()" ) ]
public class GestureMultiPress :
GestureSingle
GestureMultiPress is a Gesture implementation able to
recognize multiple clicks on a nearby zone, which can be listened for through the
pressed signal.
Whenever time or distance between clicks exceed the GTK+ defaults, stopped
is emitted, and the click counter is reset.
Callers may also restrict the area that is considered valid for a >1 touch/button press through
set_area, so any click happening outside that area is considered to be a
first click of its own.
Content:
Creation methods:
Methods:
Signals:
- public signal void pressed (int n_press, double x, double y)
This signal is emitted whenever a button or touch press happens.
- public signal void released (int n_press, double x, double y)
This signal is emitted when a button or touch is released.
- public signal void stopped ()
This signal is emitted whenever any time/distance threshold has been
exceeded.
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