forked from AuroraMiddleware/gtk
3ce3cafc93
2005-06-10 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkmenubar.sgml: * gtk/tmpl/gtkimage.sgml: * gtk/tmpl/gtkfontsel.sgml: * gtk/tmpl/gtkbbox.sgml: * gtk/tmpl/gtkadjustment.sgml: * gtk/tmpl/gtkaccelgroup.sgml: * gtk/tmpl/gtkaboutdialog.sgml: Additions.
128 lines
2.4 KiB
Plaintext
128 lines
2.4 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkMenuBar
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
A subclass widget for #GtkMenuShell which holds #GtkMenuItem widgets
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<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>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GtkMenuShell, #GtkMenu, #GtkMenuItem
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### STRUCT GtkMenuBar ##### -->
|
|
<para>
|
|
The #GtkMenuBar struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
|
|
</para>
|
|
|
|
|
|
<!-- ##### ARG GtkMenuBar:child-pack-direction ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkMenuBar:pack-direction ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkMenuBar:internal-padding ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG GtkMenuBar:shadow-type ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### FUNCTION gtk_menu_bar_new ##### -->
|
|
<para>
|
|
Creates the new #GtkMenuBar
|
|
</para>
|
|
|
|
@Returns: the #GtkMenuBar
|
|
|
|
|
|
<!-- ##### MACRO gtk_menu_bar_append ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the end of the GtkMenuBar
|
|
</para>
|
|
|
|
@menu: a #GtkMenuBar
|
|
@child: the #GtkMenuItem to add
|
|
|
|
|
|
<!-- ##### MACRO gtk_menu_bar_prepend ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
|
|
</para>
|
|
|
|
@menu: a #GtkMenuBar
|
|
@child: the #GtkMenuItem to add
|
|
|
|
|
|
<!-- ##### MACRO gtk_menu_bar_insert ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
|
|
</para>
|
|
|
|
@menu: a #GtkMenuBar
|
|
@child: the #GtkMenuItem to add
|
|
@pos: the position in the item list where the @child is added.
|
|
|
|
|
|
<!-- ##### ENUM GtkPackDirection ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@GTK_PACK_DIRECTION_LTR:
|
|
@GTK_PACK_DIRECTION_RTL:
|
|
@GTK_PACK_DIRECTION_TTB:
|
|
@GTK_PACK_DIRECTION_BTT:
|
|
|
|
<!-- ##### 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:
|
|
|
|
|