1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
GtkMenuBar
<!-- ##### SECTION Short_Description ##### -->
1999-09-20 18:50:12 +00:00
A subclass widget for #GtkMenuShell which holds #GtkMenuItem widgets
1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Long_Description ##### -->
<para>
1999-09-20 18:50:12 +00:00
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.
1999-08-16 18:51:52 +00:00
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
1999-09-20 18:50:12 +00:00
#GtkMenuShell, #GtkMenu, #GtkMenuItem
1999-08-16 18:51:52 +00:00
</para>
<!-- ##### STRUCT GtkMenuBar ##### -->
<para>
1999-09-20 18:50:12 +00:00
The #GtkMenuBar struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
1999-08-16 18:51:52 +00:00
</para>
1999-09-25 09:20:23 +00:00
2003-12-08 22:55:03 +00:00
<!-- ##### ARG GtkMenuBar:internal-padding ##### -->
<para>
</para>
<!-- ##### ARG GtkMenuBar:shadow-type ##### -->
<para>
</para>
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_menu_bar_new ##### -->
<para>
1999-09-20 18:50:12 +00:00
Creates the new #GtkMenuBar
1999-08-16 18:51:52 +00:00
</para>
1999-09-20 18:50:12 +00:00
@Returns: the #GtkMenuBar
1999-08-16 18:51:52 +00:00
2001-08-26 02:03:10 +00:00
<!-- ##### MACRO gtk_menu_bar_append ##### -->
1999-08-16 18:51:52 +00:00
<para>
1999-09-20 18:50:12 +00:00
Adds a new #GtkMenuItem to the end of the GtkMenuBar
1999-08-16 18:51:52 +00:00
</para>
2001-08-26 02:03:10 +00:00
@menu:
1999-09-20 18:50:12 +00:00
@child: the #GtkMenuItem to add
2001-08-26 02:03:10 +00:00
<!-- # Unused Parameters # -->
@menu_bar: a #GtkMenuBar
1999-08-16 18:51:52 +00:00
2001-08-26 02:03:10 +00:00
<!-- ##### MACRO gtk_menu_bar_prepend ##### -->
1999-08-16 18:51:52 +00:00
<para>
1999-09-20 18:50:12 +00:00
Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
1999-08-16 18:51:52 +00:00
</para>
2001-08-29 02:20:02 +00:00
@menu:
@child: the #GtkMenuItem to add
2001-08-26 02:03:10 +00:00
<!-- # Unused Parameters # -->
2001-08-29 02:20:02 +00:00
@menu_child:
1999-11-16 00:33:10 +00:00
@menu_bar: a #GtkMenuBar
1999-08-16 18:51:52 +00:00
2001-08-26 02:03:10 +00:00
<!-- ##### MACRO gtk_menu_bar_insert ##### -->
1999-08-16 18:51:52 +00:00
<para>
1999-09-20 18:50:12 +00:00
Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
1999-08-16 18:51:52 +00:00
</para>
2001-08-26 02:03:10 +00:00
@menu:
1999-09-20 18:50:12 +00:00
@child: the #GtkMenuItem to add
2001-08-26 02:03:10 +00:00
@pos:
<!-- # Unused Parameters # -->
@menu_bar: a #GtkMenuBar
1999-11-16 00:33:10 +00:00
@position: the position in the item list where the @child is added.
1999-08-16 18:51:52 +00:00