[gtk+] GtkMenuButton: do not mention GtkArrow in the docs



commit 167f200a0cd5977c40df1729130a366a3a5224a8
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Jul 20 10:29:09 2014 +0200

    GtkMenuButton: do not mention GtkArrow in the docs
    
    GtkArrow is deprecated and is not used internally anymore by the
    menu button. Document also the fact that if no direction is specified
    then the view-context-menu icon is shown.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733441

 gtk/gtkmenubutton.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 5130e35..605937a 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -29,7 +29,10 @@
  *
  * The #GtkMenuButton widget can hold any valid child widget. That is, it
  * can hold almost any other standard #GtkWidget. The most commonly used
- * child is the provided #GtkArrow.
+ * child is #GtkImage. If no widget is explicitely added to the #GtkMenuButton,
+ * a #GtkImage is automatically created, using an arrow image oriented
+ * according to #GtkMenuButton:direction or the generic "view-context-menu"
+ * icon if the direction is not set.
  *
  * The positioning of the popup is determined by the #GtkMenuButton:direction
  * property of the menu button.


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