summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-03-26 10:49:21 +0100
committerCarlos Garnacho <carlosg@gnome.org>2014-05-23 19:54:24 +0200
commit38e40a55f4961cd67a1aabb67e3291f36de30aae (patch)
tree37e1623ef6ba7495589e86a396b061d934a1c1ff /gtk/gtkwidget.h
parent8e1d5f98de2312b241fb81838d667eeec1d0bd02 (diff)
downloadgtk+-38e40a55f4961cd67a1aabb67e3291f36de30aae.tar.gz
widget: Add gtk_widget_set_gesture_state()
This helper function ensures the state is propagated for all the active sequences in the given gesture.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 5795865bdd..53e2c98955 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1488,6 +1488,10 @@ GDK_AVAILABLE_IN_3_14
void gtk_widget_set_sequence_state (GtkWidget *widget,
GdkEventSequence *sequence,
GtkEventSequenceState state);
+GDK_AVAILABLE_IN_3_14
+void gtk_widget_set_gesture_state (GtkWidget *widget,
+ GtkGesture *gesture,
+ GtkEventSequenceState state);
G_END_DECLS