11.84Class GtkMenuBar

A subclass widget for GtkMenuShell which holds GtkMenuItem widgets

Class GtkMenuBar

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 set_shadow_type function.

Methods
get_child_pack_directionRetrieves the current child pack direction of the menubar.
get_pack_directionRetrieves the current pack direction of the menubar.
set_child_pack_directionSets how widgets should be packed inside the children of a menubar.
set_pack_directionSets how items should be packed inside a menubar.

Methods

get_child_pack_direction

Retrieves the current child pack direction of the menubar.

GtkMenuBar.get_child_pack_direction()
Returnthe child pack direction

get_pack_direction

Retrieves the current pack direction of the menubar.

GtkMenuBar.get_pack_direction()
Returnthe pack direction

set_child_pack_direction

Sets how widgets should be packed inside the children of a menubar.

GtkMenuBar.set_child_pack_direction( child_pack_dir )
child_pack_dir a new GtkPackDirection

set_pack_direction

Sets how items should be packed inside a menubar.

GtkMenuBar.set_pack_direction( pack_dir )
pack_dir a new GtkPackDirection
Made with http://www.falconpl.org