summaryrefslogtreecommitdiff
path: root/gtk/gtkeventcontroller.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-06-19 11:09:38 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-06-20 22:48:33 -0400
commit955ae40cd6b4de657be5d492b0025fa8c9203ff4 (patch)
tree72785e3f1b7ca40d66cec5c35c047cc9199699dd /gtk/gtkeventcontroller.h
parentdee9e40ad32d4c674b7a495665988e6ea400ff57 (diff)
downloadgtk+-955ae40cd6b4de657be5d492b0025fa8c9203ff4.tar.gz
event controller: Add a name property
This helps identifying controllers in the inspector.
Diffstat (limited to 'gtk/gtkeventcontroller.h')
-rw-r--r--gtk/gtkeventcontroller.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkeventcontroller.h b/gtk/gtkeventcontroller.h
index 963f440e6a..e5a999961a 100644
--- a/gtk/gtkeventcontroller.h
+++ b/gtk/gtkeventcontroller.h
@@ -65,6 +65,12 @@ GtkPropagationLimit gtk_event_controller_get_propagation_limit (GtkEventControll
GDK_AVAILABLE_IN_ALL
void gtk_event_controller_set_propagation_limit (GtkEventController *controller,
GtkPropagationLimit limit);
+GDK_AVAILABLE_IN_ALL
+const char * gtk_event_controller_get_name (GtkEventController *controller);
+GDK_AVAILABLE_IN_ALL
+void gtk_event_controller_set_name (GtkEventController *controller,
+ const char *name);
+
G_END_DECLS
#endif /* __GTK_EVENT_CONTROLLER_H__ */