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 [[email protected] :
GtkGestureClick:pressed
] signal. Whenever time or distance between clicks exceed the GTK defaults, [[email protected] :
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
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref