1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A subclass widget for #GtkMenuShell which holds #GtkMenuItem widgets
7 <!-- ##### SECTION Long_Description ##### -->
9 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.
12 <!-- ##### SECTION See_Also ##### -->
14 #GtkMenuShell, #GtkMenu, #GtkMenuItem
17 <!-- ##### STRUCT GtkMenuBar ##### -->
19 The #GtkMenuBar struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
23 <!-- ##### FUNCTION gtk_menu_bar_new ##### -->
25 Creates the new #GtkMenuBar
28 @Returns: the #GtkMenuBar
31 <!-- ##### FUNCTION gtk_menu_bar_append ##### -->
33 Adds a new #GtkMenuItem to the end of the GtkMenuBar
36 @menu_bar: a #GtkMenuBar
37 @child: the #GtkMenuItem to add
40 <!-- ##### FUNCTION gtk_menu_bar_prepend ##### -->
42 Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
45 @menu_bar: a #GtkMenuBa
46 @child: the #GtkMenuItem to add
49 <!-- ##### FUNCTION gtk_menu_bar_insert ##### -->
51 Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
54 @menu_bar: a #GtkMenuBar
55 @child: the #GtkMenuItem to add
56 @position: the position in the item list where the <em>child</em> is added.
59 <!-- ##### FUNCTION gtk_menu_bar_set_shadow_type ##### -->
61 Sets the shadow type to use on the GtkMenuBar. The shadow types to use are:
62 GTK_SHADOW_NONE, GTK_SHADOW_IN, GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN, and GTK_SHADOW_ETCHED_OUT
65 @menu_bar: a #GtkMenuBa
66 @type: the GtkShadowtype
69 <!-- ##### ARG GtkMenuBar:shadow ##### -->
71 Used by #GtkMenuBar to determine the shadow type.