diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-04-08 20:46:26 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:25 +0200 |
commit | 6433a5452e9a27451f7a9d709c6484296319ca4b (patch) | |
tree | a70f71a3ffe020f28fd41fee16ef56317d123b31 /gtk/gtkgesture.h | |
parent | 72f8c673da64c1f5cc4662e1e9240539e07e7882 (diff) | |
download | gtk+-6433a5452e9a27451f7a9d709c6484296319ca4b.tar.gz |
gesture: Add gtk_gesture_set_state() helper.
This function sets the state on all sequences where it actually
can, just a helper function to avoid iterating over sequences
yourself.
Diffstat (limited to 'gtk/gtkgesture.h')
-rw-r--r-- | gtk/gtkgesture.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkgesture.h b/gtk/gtkgesture.h index 21e70261d9..e5976d1381 100644 --- a/gtk/gtkgesture.h +++ b/gtk/gtkgesture.h @@ -75,9 +75,12 @@ GDK_AVAILABLE_IN_3_14 GdkDevice * gtk_gesture_get_device (GtkGesture *gesture); GDK_AVAILABLE_IN_3_14 +gboolean gtk_gesture_set_state (GtkGesture *gesture, + GtkEventSequenceState state); +GDK_AVAILABLE_IN_3_14 GtkEventSequenceState - gtk_gesture_get_sequence_state (GtkGesture *gesture, - GdkEventSequence *sequence); + gtk_gesture_get_sequence_state (GtkGesture *gesture, + GdkEventSequence *sequence); GDK_AVAILABLE_IN_3_14 gboolean gtk_gesture_set_sequence_state (GtkGesture *gesture, GdkEventSequence *sequence, |