diff options
author | Benjamin Otte <otte@redhat.com> | 2018-08-12 01:38:50 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-25 22:36:03 -0400 |
commit | 58e8f2332d1b6068ae10265cf7fab9eb6af1f157 (patch) | |
tree | 54689dbf22efddd87fd11c1624dad19974674c57 /gtk/gtkshortcutcontroller.h | |
parent | 376dc4d1691317957bd94a85dea1cf695713e619 (diff) | |
download | gtk+-58e8f2332d1b6068ae10265cf7fab9eb6af1f157.tar.gz |
shortcutcontroller: Add gtk_shortcut_controller_add_shortcut()
... and gtk_shortcut_controller_remove_shortcut().
Diffstat (limited to 'gtk/gtkshortcutcontroller.h')
-rw-r--r-- | gtk/gtkshortcutcontroller.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkshortcutcontroller.h b/gtk/gtkshortcutcontroller.h index 91fb97d67c..e078e3241a 100644 --- a/gtk/gtkshortcutcontroller.h +++ b/gtk/gtkshortcutcontroller.h @@ -45,6 +45,13 @@ GType gtk_shortcut_controller_get_type (void) G GDK_AVAILABLE_IN_ALL GtkEventController * gtk_shortcut_controller_new (void); +GDK_AVAILABLE_IN_ALL +void gtk_shortcut_controller_add_shortcut (GtkShortcutController *controller, + GtkShortcut *shortcut); +GDK_AVAILABLE_IN_ALL +void gtk_shortcut_controller_remove_shortcut (GtkShortcutController *controller, + GtkShortcut *shortcut); + G_END_DECLS #endif /* __GTK_SHORTCUT_CONTROLLER_H__ */ |