forked from AuroraMiddleware/gtk
7447ef0fc2
In particular, rename - libraries to lib*-3.0.so - pc files to *-3.0.pc - include paths to /usr/include/gtk-3.0/* - module paths to /usr/lib/gtk-3.0/* - rc files names to gtk-3.0/gtkrc - commandline utilities to *-3.0 - adjust documentation Also change the install location for unix-print headers to /usr/include/gtk-3.0/unix-print/gtk.
105 lines
2.1 KiB
Plaintext
105 lines
2.1 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 ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
<!-- ##### 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>
|
|
|
|
@void:
|
|
@Returns: the #GtkMenuBar
|
|
|
|
|
|
<!-- ##### ENUM GtkPackDirection ##### -->
|
|
<para>
|
|
Determines how widgets should be packed insided menubars and
|
|
menuitems contained in menubars.
|
|
</para>
|
|
|
|
@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.
|
|
|
|
<!-- ##### 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:
|
|
|
|
|