summaryrefslogtreecommitdiff
path: root/gtk/gtk.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-08-18 07:32:11 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-03-25 23:14:27 -0400
commitcd0332aad5f0130ea13c10dceadda87b7d3bbf50 (patch)
treeaf7b6479eeec64b6c52b4b59eced0ac6e52d6a77 /gtk/gtk.h
parentcdd33bbee6ef2576f28b4452dc61bdcd9c51d61f (diff)
downloadgtk+-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 3ff411ea24..8fe078e6a9 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -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>