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-18 23:00:51 -0400
commite6d0560a8239112882dacbc9611b39e1d801493c (patch)
treec124263dfad1a2eeee5d0d09b49610b9dafc0c22 /gtk/gtk.h
parent4d0bab0c24b9273b5c45eade04a6e3f376f15ca1 (diff)
downloadgtk+-e6d0560a8239112882dacbc9611b39e1d801493c.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 - Activate a GAction
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>