diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-08-17 18:09:35 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-08-20 13:09:04 -0400 |
commit | d30d56452cbd8d1c495c902018df17dee14875c8 (patch) | |
tree | 83fa4421d6d170fd063dab7742f1e1d75d378d82 /docs | |
parent | 2e578194770653e84caf495eddc481f562118b44 (diff) | |
download | gtk+-d30d56452cbd8d1c495c902018df17dee14875c8.tar.gz |
GtkWidget: Add gtk_widget_insert_action_group()
This allows adding a GActionGroup with a given name at an arbitrary
point in the widget tree.
This patch also adds an internal _get_action_muxer() API. Calling this
will create a GActionMuxer associated with the widget. The parent of
the muxer will be the muxer of the widget's conceptual parent. For
non-menus, that is the normal parent. For menus, it is the attach
widget.
In this way, we end up with a hierarchy of GActionMuxer that largely
reflects the hierarchy of GtkWidget, but only in places that the action
context has been requested. These muxers are the ones on which the
inserted actions groups are installed.
A following patch will add a user of this API.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/gtk/gtk3-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt index 0d16ef420a..8bdcb890db 100644 --- a/docs/reference/gtk/gtk3-sections.txt +++ b/docs/reference/gtk/gtk3-sections.txt @@ -5291,6 +5291,7 @@ gtk_widget_get_mapped gtk_widget_get_requisition gtk_widget_device_is_shadowed gtk_widget_get_modifier_mask +gtk_widget_insert_action_group <SUBSECTION> gtk_widget_get_path |