[gtk+/gtk-3-10] GtkMenu: Document that gtk_widget_insert_action_group() can be used



commit af2c540a95c0f2a2c3e7a5d46f1655aa537e63c3
Author: Xavier Claessens <xavier claessens collabora co uk>
Date:   Thu Oct 10 13:00:53 2013 -0400

    GtkMenu: Document that gtk_widget_insert_action_group() can be used

 gtk/gtkmenu.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 6a4f01e..f6b0c7a 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -5614,6 +5614,9 @@ gtk_menu_get_reserve_toggle_size (GtkMenu *menu)
  * by means of being attached to a widget (see gtk_menu_attach_to_widget())
  * that is contained within the #GtkApplicationWindows widget hierarchy.
  *
+ * Actions can also be added using gtk_widget_insert_action_group() on menu's
+ * attach widget or any if its parent widgets.
+ *
  * Returns: a new #GtkMenu
  *
  * Since: 3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]