diff options
author | Ryan Lortie <desrt@desrt.ca> | 2014-08-03 20:27:51 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-08-03 20:27:51 +0200 |
commit | 7d81d0a3bb3ad8c26d9ca664b3aaafd0b4f3052e (patch) | |
tree | 7f188b0e53d1e1d59ff1f07edb6e883f582ceebe /gtk/gtkapplication.h | |
parent | 9746419ccefb27f5da29067186ef40670152d028 (diff) | |
download | gtk+-7d81d0a3bb3ad8c26d9ca664b3aaafd0b4f3052e.tar.gz |
Add gtk_application_get_actions_for_accel()
This counterpart to gtk_application_get_accels_for_action() lets you
find out if a particular accelerator has one or more actions associated
with it. This might be useful from an accelerator editor or plugin
system to prevent the the installation of conflicting accelerators.
https://bugzilla.gnome.org/show_bug.cgi?id=721367
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r-- | gtk/gtkapplication.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h index 6fe1ff388c..b55d4a71a0 100644 --- a/gtk/gtkapplication.h +++ b/gtk/gtkapplication.h @@ -145,6 +145,10 @@ gchar ** gtk_application_list_action_descriptions (GtkApplication GDK_AVAILABLE_IN_3_12 gchar ** gtk_application_get_accels_for_action (GtkApplication *application, const gchar *detailed_action_name); +GDK_AVAILABLE_IN_3_14 +gchar ** gtk_application_get_actions_for_accel (GtkApplication *application, + const gchar *accel); + GDK_AVAILABLE_IN_3_12 void gtk_application_set_accels_for_action (GtkApplication *application, |