forked from AuroraMiddleware/gtk
3a202479a8
1999-11-16 Damon Chaplin <damon@karuna.freeserve.co.uk> * gtk/tmpl/gtkmenubar.sgml: fixed minor error - using <em>. * gtk/tmpl/gtknotebook.sgml: * gtk/tmpl/gtklist.sgml: new sections from Nicolas George <george@clipper.ens.fr>, with help from "Bob Springett" <bobspringett@claranet.fr>. * gtk/tmpl/gtkobject.sgml: * gtk/tmpl/gtkarg.sgml: new sections from David Benson <daveb@idealab.com>. * gtk/tmpl/gtkvbox.sgml: * gtk/tmpl/gtkhbox.sgml: fixed line endings. * gtk/tmpl/gtkvbbox.sgml: update from Lee Mallabone <lee0@callnetuk.com> * gdk/tmpl/drawing.sgml: fixed error in gdk_draw_arc() @angle2 param - it is relative to @angle1 rather than from the 3 o'clock position. * gtk/tmpl/gtkfontseldlg.sgml: changed enums to use @ fields. * gtk/tmpl/gtkcolorsel.sgml: * gtk/tmpl/gtkcolorseldlg.sgml: * gtk/tmpl/gtkprogress.sgml: * gtk/tmpl/gtkprogressbar.sgml: new sections from Tom Martone <tom@martoneconsulting.com> * gtk/tmpl/gtkclist.sgml: partially written documentation from Paul Schifferer <isengard@geocities.com> who won't be able to finish it
74 lines
1.9 KiB
Plaintext
74 lines
1.9 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>
|
|
|
|
<!-- ##### 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>
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_menu_bar_new ##### -->
|
|
<para>
|
|
Creates the new #GtkMenuBar
|
|
</para>
|
|
|
|
@Returns: the #GtkMenuBar
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_menu_bar_append ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the end of the GtkMenuBar
|
|
</para>
|
|
|
|
@menu_bar: a #GtkMenuBar
|
|
@child: the #GtkMenuItem to add
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_menu_bar_prepend ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
|
|
</para>
|
|
|
|
@menu_bar: a #GtkMenuBar
|
|
@child: the #GtkMenuItem to add
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_menu_bar_insert ##### -->
|
|
<para>
|
|
Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
|
|
</para>
|
|
|
|
@menu_bar: a #GtkMenuBar
|
|
@child: the #GtkMenuItem to add
|
|
@position: the position in the item list where the @child is added.
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_menu_bar_set_shadow_type ##### -->
|
|
<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>
|
|
|
|
@menu_bar: a #GtkMenuBar
|
|
@type: the GtkShadowtype
|
|
|
|
|
|
<!-- ##### ARG GtkMenuBar:shadow ##### -->
|
|
<para>
|
|
Used by #GtkMenuBar to determine the shadow type.
|
|
</para>
|
|
|