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_direction | Retrieves the current child pack direction of the menubar. |
get_pack_direction | Retrieves the current pack direction of the menubar. |
set_child_pack_direction | Sets how widgets should be packed inside the children of a menubar. |
set_pack_direction | Sets how items should be packed inside a menubar. |
Retrieves the current child pack direction of the menubar.
GtkMenuBar.get_child_pack_direction()
Return | the child pack direction |
Retrieves the current pack direction of the menubar.
GtkMenuBar.get_pack_direction()
Return | the 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 |
Sets how items should be packed inside a menubar.
GtkMenuBar.set_pack_direction( pack_dir )
pack_dir | a new GtkPackDirection |