parent
6822cce08d
commit
be9abde533
@ -2,73 +2,75 @@
|
|||||||
GtkMenuBar
|
GtkMenuBar
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
|
A subclass widget for #GtkMenuShell which holds #GtkMenuItem widgets
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<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>
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
#GtkMenuShell, #GtkMenu, #GtkMenuItem
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### STRUCT GtkMenuBar ##### -->
|
<!-- ##### STRUCT GtkMenuBar ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The #GtkMenuBar struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@menu_shell:
|
@menu_shell: the #GtkMenuShell container
|
||||||
@shadow_type:
|
@shadow_type: the GtkShadowType to use
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_menu_bar_new ##### -->
|
<!-- ##### FUNCTION gtk_menu_bar_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Creates the new #GtkMenuBar
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@Returns:
|
@Returns: the #GtkMenuBar
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_menu_bar_append ##### -->
|
<!-- ##### FUNCTION gtk_menu_bar_append ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Adds a new #GtkMenuItem to the end of the GtkMenuBar
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@menu_bar:
|
@menu_bar: a #GtkMenuBar
|
||||||
@child:
|
@child: the #GtkMenuItem to add
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_menu_bar_prepend ##### -->
|
<!-- ##### FUNCTION gtk_menu_bar_prepend ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@menu_bar:
|
@menu_bar: a #GtkMenuBa
|
||||||
@child:
|
@child: the #GtkMenuItem to add
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_menu_bar_insert ##### -->
|
<!-- ##### FUNCTION gtk_menu_bar_insert ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@menu_bar:
|
@menu_bar: a #GtkMenuBar
|
||||||
@child:
|
@child: the #GtkMenuItem to add
|
||||||
@position:
|
@position: the position in the item list where the <em>child</em> is added.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_menu_bar_set_shadow_type ##### -->
|
<!-- ##### FUNCTION gtk_menu_bar_set_shadow_type ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Sets the shadow type to use on the GtkMenuBar. The shadow types to use are:
|
||||||
|
GTK_SHADOW_NONE, GTK_SHADOW_IN, GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN, and GTK_SHADOW_ETCHED_OUT
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@menu_bar:
|
@menu_bar: a #GtkMenuBa
|
||||||
@type:
|
@type: the GtkShadowtype
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### ARG GtkMenuBar:shadow ##### -->
|
<!-- ##### ARG GtkMenuBar:shadow ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Used by #GtkMenuBar to determine the shadow type.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user