diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-05-12 19:50:26 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:31 +0200 |
commit | 0b3f4d5555dd44d09e96f58aa6d72fe4b91f0745 (patch) | |
tree | 0f3aab90d3a859d5f15cb18e8777a81531695690 /gtk/gtkgesturesingle.h | |
parent | fd9925141b38d464d2cc60a31ecf5f3b58953dc5 (diff) | |
download | gtk+-0b3f4d5555dd44d09e96f58aa6d72fe4b91f0745.tar.gz |
gesturesingle: Add an "exclusive" boolean property
All "exclusive" gestures listen for either pointer events, or
"pointer emulating" touch events, so only a single sequence at
a time can make these run.
Diffstat (limited to 'gtk/gtkgesturesingle.h')
-rw-r--r-- | gtk/gtkgesturesingle.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkgesturesingle.h b/gtk/gtkgesturesingle.h index fb4bce9cd5..3dde8d7280 100644 --- a/gtk/gtkgesturesingle.h +++ b/gtk/gtkgesturesingle.h @@ -49,6 +49,13 @@ GDK_AVAILABLE_IN_3_14 void gtk_gesture_single_set_touch_only (GtkGestureSingle *gesture, gboolean touch_only); GDK_AVAILABLE_IN_3_14 +gboolean gtk_gesture_single_get_exclusive (GtkGestureSingle *gesture); + +GDK_AVAILABLE_IN_3_14 +void gtk_gesture_single_set_exclusive (GtkGestureSingle *gesture, + gboolean exclusive); + +GDK_AVAILABLE_IN_3_14 guint gtk_gesture_single_get_button (GtkGestureSingle *gesture); GDK_AVAILABLE_IN_3_14 |