summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-02-26 13:07:08 +0100
committerCarlos Garnacho <carlosg@gnome.org>2014-05-23 19:54:22 +0200
commit76213ab209481f595d64e1ddd27a5c0a3d3378aa (patch)
tree6d89b867e77c6508ee2f02e3ec75e195db81811f /gtk/gtkwidget.h
parentf1bb0283dda663c0a7c9825a576115c73e8e4c88 (diff)
downloadgtk+-76213ab209481f595d64e1ddd27a5c0a3d3378aa.tar.gz
widget: Add widget-level handling of touch sequence state.
These functions ATM do nothing but proxying the controller(s) state with the given sequence.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 29d0ab356f..f3b2cf0d23 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1481,6 +1481,14 @@ GDK_AVAILABLE_IN_3_14
GList * gtk_widget_list_controllers (GtkWidget *widget,
GtkPropagationPhase phase);
+GDK_AVAILABLE_IN_3_14
+GtkEventSequenceState gtk_widget_get_sequence_state (GtkWidget *widget,
+ GdkEventSequence *sequence);
+GDK_AVAILABLE_IN_3_14
+void gtk_widget_set_sequence_state (GtkWidget *widget,
+ GdkEventSequence *sequence,
+ GtkEventSequenceState state);
+
G_END_DECLS
#endif /* __GTK_WIDGET_H__ */