diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-01-13 22:11:22 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-13 22:11:22 -0500 |
commit | 9d85d87f0561ce2af3c72d7b9bb787b958a97e30 (patch) | |
tree | 87414d94f27f15bbd649ba1b9c3a0a66e4065b20 /gtk/gtkmenubar.c | |
parent | df78c9ee66999f235e3ca267ac638abab6602cb4 (diff) | |
download | gtk+-9d85d87f0561ce2af3c72d7b9bb787b958a97e30.tar.gz |
Move GtkMenuBar docs inline
And remove some outdated content.
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r-- | gtk/gtkmenubar.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c index 42f2f25819..b35ec0ca89 100644 --- a/gtk/gtkmenubar.c +++ b/gtk/gtkmenubar.c @@ -24,6 +24,17 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +/** + * SECTION:gtkmenubar + * @Title: GtkMenuBar + * @Short_description: A subclass of GtkMenuShell which holds GtkMenuItem widgets + * @See_also: #GtkMenuShell, #GtkMenu, #GtkMenuItem + * + * The #GtkMenuBar is a subclass of #GtkMenuShell which contains one or + * more #GtkMenuItems. The result is a standard menu bar which can hold + * many menu items. + */ + #include "config.h" #include "gtkmenubar.h" @@ -224,6 +235,13 @@ gtk_menu_bar_init (GtkMenuBar *menu_bar) gtk_style_context_add_class (context, GTK_STYLE_CLASS_MENUBAR); } +/** + * gtk_menu_bar_new: + * + * Creates a new #GtkMenuBar + * + * Returns: the new menu bar, as a #GtkWidget + */ GtkWidget* gtk_menu_bar_new (void) { |