diff options
author | Benjamin Otte <otte@redhat.com> | 2018-08-16 05:18:01 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-18 23:00:50 -0400 |
commit | ab681b0e05da356b99d010385359bc742cc530ca (patch) | |
tree | 5053a17f7a3053396746edae2b679f0728a9f0ae /gtk/gtkshortcut.h | |
parent | ef40f22632912de1f0f83286013f27966f997114 (diff) | |
download | gtk+-ab681b0e05da356b99d010385359bc742cc530ca.tar.gz |
shortcut: Add gtk_shortcut_set_mnemonic_activate()
Makes the shortcut call gtk_widget_mnemonic_activate() upon activation.
Diffstat (limited to 'gtk/gtkshortcut.h')
-rw-r--r-- | gtk/gtkshortcut.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkshortcut.h b/gtk/gtkshortcut.h index a3a02a7514..a95df8d82d 100644 --- a/gtk/gtkshortcut.h +++ b/gtk/gtkshortcut.h @@ -69,6 +69,11 @@ gboolean gtk_shortcut_has_action (GtkShortcut GDK_AVAILABLE_IN_ALL void gtk_shortcut_set_action (GtkShortcut *self, const char *action); +GDK_AVAILABLE_IN_ALL +gboolean gtk_shortcut_get_mnemonic_activate (GtkShortcut *self); +GDK_AVAILABLE_IN_ALL +void gtk_shortcut_set_mnemonic_activate (GtkShortcut *self, + gboolean mnemonic_activate); G_END_DECLS |