widget: add helpers to resolve GActionGroups available to GtkWidget

These functions, while added for use by the GTK inspector, are generally
useful to applications that need to resolve what action groups are
available to a particular GtkWidget.

https://bugzilla.gnome.org/show_bug.cgi?id=741386
This commit is contained in:
Christian Hergert
2014-12-11 15:25:41 -08:00
parent ab5b0d0983
commit 661da5558c
8 changed files with 52 additions and 15 deletions

View File

@ -41,7 +41,7 @@ void gtk_action_muxer_insert (GtkActi
void gtk_action_muxer_remove (GtkActionMuxer *muxer,
const gchar *prefix);
gchar ** gtk_action_muxer_list_prefixes (GtkActionMuxer *muxer);
const gchar ** gtk_action_muxer_list_prefixes (GtkActionMuxer *muxer);
GActionGroup * gtk_action_muxer_lookup (GtkActionMuxer *muxer,
const gchar *prefix);
GtkActionMuxer * gtk_action_muxer_get_parent (GtkActionMuxer *muxer);