1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
GtkMenuBar
<!-- ##### SECTION Short_Description ##### -->
2007-06-11 03:41:27 +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>
2005-06-10 04:24:30 +00:00
<!-- ##### SECTION Stability_Level ##### -->
2010-05-08 05:18:53 +00:00
<!-- ##### SECTION Image ##### -->
1999-08-16 18:51:52 +00:00
<!-- ##### 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
2005-06-10 04:24:30 +00:00
<!-- ##### ARG GtkMenuBar:child-pack-direction ##### -->
<para>
</para>
<!-- ##### ARG GtkMenuBar:pack-direction ##### -->
<para>
</para>
2004-07-20 02:26:06 +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>
2010-05-08 05:18:53 +00:00
@void:
1999-09-20 18:50:12 +00:00
@Returns: the #GtkMenuBar
1999-08-16 18:51:52 +00:00
2005-06-10 04:24:30 +00:00
<!-- ##### ENUM GtkPackDirection ##### -->
<para>
2008-12-29 06:31:44 +00:00
Determines how widgets should be packed insided menubars and
menuitems contained in menubars.
2005-06-10 04:24:30 +00:00
</para>
2008-12-29 06:31:44 +00:00
@GTK_PACK_DIRECTION_LTR: Widgets are packed left-to-right.
@GTK_PACK_DIRECTION_RTL: Widgets are packed right-to-left.
@GTK_PACK_DIRECTION_TTB: Widgets are packed top-to-bottom.
@GTK_PACK_DIRECTION_BTT: Widgets are packed bottom-to-top.
2005-06-10 04:24:30 +00:00
<!-- ##### FUNCTION gtk_menu_bar_set_pack_direction ##### -->
<para>
</para>
@menubar:
@pack_dir:
<!-- ##### FUNCTION gtk_menu_bar_get_pack_direction ##### -->
<para>
</para>
@menubar:
@Returns:
<!-- ##### FUNCTION gtk_menu_bar_set_child_pack_direction ##### -->
<para>
</para>
@menubar:
@child_pack_dir:
<!-- ##### FUNCTION gtk_menu_bar_get_child_pack_direction ##### -->
<para>
</para>
@menubar:
@Returns:
1999-08-16 18:51:52 +00:00