GtkMenuBar
A subclass widget for GtkMenuShell which holds GtkMenuItem widgets
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.
#GtkMenuShell, #GtkMenu, #GtkMenuItem
The #GtkMenuBar struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
Creates the new #GtkMenuBar
@Returns: the #GtkMenuBar
Adds a new #GtkMenuItem to the end of the GtkMenuBar
@menu: a #GtkMenuBar
@child: the #GtkMenuItem to add
@Deprecated: Use gtk_menu_shell_append() instead.
Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
@menu: a #GtkMenuBar
@child: the #GtkMenuItem to add
@Deprecated: Use gtk_menu_shell_prepend() instead.
Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
@menu: a #GtkMenuBar
@child: the #GtkMenuItem to add
@pos: the position in the item list where the @child is added.
@Deprecated: Use gtk_menu_shell_insert() instead.
Determines how widgets should be packed insided menubars and
menuitems contained in menubars.
@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.
@menubar:
@pack_dir:
@menubar:
@Returns:
@menubar:
@child_pack_dir:
@menubar:
@Returns: