forked from AuroraMiddleware/gtk
85c05a86c0
Mon Dec 8 10:54:44 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.1 === * NEWS: Updates for 2.3.1 * configure.in: Version 2.3.1, interface age 0, binary age 301. * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel): Rename from gtk_menu_item_real_can_activate_accel() to match GTK+ convention, improve comment. * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(), can ::can-activate-accel signal. * gtk/gtkwidget.c (closure_accel_activate): Fix spelling in comment. * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean up comment. * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros into the .c file. Mon Dec 8 12:09:21 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkicontheme.c (find_builtin_icon): Fix a missing 'else'. (#128816, Jorn Baayen)
77 lines
1.8 KiB
Plaintext
77 lines
1.8 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkMenuBar
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
A subclass widget for #GtkMenuShell which holds #GtkMenuItem widgets
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
The #GtkMenuBar is a subclass of #GtkMenuShell which contains one to many #GtkMenuItem. The result is a standard menu bar which can hold many menu items. #GtkMenuBar allows for a shadow type to be set for aesthetic purposes. The shadow types are defined in the #gtk_menu_bar_set_shadow_type function.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GtkMenuShell, #GtkMenu, #GtkMenuItem
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkMenuBar ##### -->
|
|
<para>
|
|
The #GtkMenuBar struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
|
|
</para>
|
|
|
|
|
|
<!-- ##### ARG GtkMenuBar:internal-padding ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkMenuBar:shadow-type ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### FUNCTION gtk_menu_bar_new ##### -->
|
|
<para>
|
|
Creates the new #GtkMenuBar
|
|
</para>
|
|
|
|
@Returns: the #GtkMenuBar
|
|
|
|
|
|
<!-- ##### MACRO gtk_menu_bar_append ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the end of the GtkMenuBar
|
|
</para>
|
|
|
|
@menu:
|
|
@child: the #GtkMenuItem to add
|
|
<!-- # Unused Parameters # -->
|
|
@menu_bar: a #GtkMenuBar
|
|
|
|
|
|
<!-- ##### MACRO gtk_menu_bar_prepend ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
|
|
</para>
|
|
|
|
@menu:
|
|
@child: the #GtkMenuItem to add
|
|
<!-- # Unused Parameters # -->
|
|
@menu_child:
|
|
@menu_bar: a #GtkMenuBar
|
|
|
|
|
|
<!-- ##### MACRO gtk_menu_bar_insert ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
|
|
</para>
|
|
|
|
@menu:
|
|
@child: the #GtkMenuItem to add
|
|
@pos:
|
|
<!-- # Unused Parameters # -->
|
|
@menu_bar: a #GtkMenuBar
|
|
@position: the position in the item list where the @child is added.
|
|
|
|
|