summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutaction.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-08-20 04:45:10 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-03-18 23:00:51 -0400
commita10a29551552c25038078492af0c4a0b93625e8b (patch)
tree19af28520b672e6a35de0f3c1f9db22b53e2a965 /gtk/gtkshortcutaction.h
parent3b595f57200d038905a1ff161a66e8507e4d4257 (diff)
downloadgtk+-a10a29551552c25038078492af0c4a0b93625e8b.tar.gz
shortcutaction: Add gtk_shortcut_action_to_string()
For all but the callback action, we can print something useful.
Diffstat (limited to 'gtk/gtkshortcutaction.h')
-rw-r--r--gtk/gtkshortcutaction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkshortcutaction.h b/gtk/gtkshortcutaction.h
index a99eccefd6..95904fbfb8 100644
--- a/gtk/gtkshortcutaction.h
+++ b/gtk/gtkshortcutaction.h
@@ -92,6 +92,11 @@ GDK_AVAILABLE_IN_ALL
GtkShortcutActionType gtk_shortcut_action_get_action_type (GtkShortcutAction *self);
GDK_AVAILABLE_IN_ALL
+char * gtk_shortcut_action_to_string (GtkShortcutAction *self);
+GDK_AVAILABLE_IN_ALL
+void gtk_shortcut_action_print (GtkShortcutAction *self,
+ GString *string);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_shortcut_action_activate (GtkShortcutAction *self,
GtkShortcutActionFlags flags,
GtkWidget *widget,