diff options
author | Benjamin Otte <otte@redhat.com> | 2018-08-18 07:32:11 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-25 23:14:27 -0400 |
commit | cd0332aad5f0130ea13c10dceadda87b7d3bbf50 (patch) | |
tree | af7b6479eeec64b6c52b4b59eced0ac6e52d6a77 /gtk/gtk.h | |
parent | cdd33bbee6ef2576f28b4452dc61bdcd9c51d61f (diff) | |
download | gtk+-cd0332aad5f0130ea13c10dceadda87b7d3bbf50.tar.gz |
shortcut: Add GtkShortcutAction
Similar to GtkShortcutTrigger, GtkShortCutAction provides all the
different ways to activate a shortcut.
So far, these different ways are supported:
- do nothing
- Call a user-provided callback
- Call gtk_widget_activate()
- Call gtk_widget_mnemonic_activate()
- Emit an action signal
- Activate an action from the widget's action muxer
Diffstat (limited to 'gtk/gtk.h')
-rw-r--r-- | gtk/gtk.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -197,6 +197,7 @@ #include <gtk/gtkseparator.h> #include <gtk/gtksettings.h> #include <gtk/gtkshortcut.h> +#include <gtk/gtkshortcutaction.h> #include <gtk/gtkshortcutcontroller.h> #include <gtk/gtkshortcutlabel.h> #include <gtk/gtkshortcutmanager.h> |