"child-pack-direction"Read-WriteThe pack direction of the menubar. It determines how
the widgets contained in child menuitems are arranged.
Default value: gtk.PACK_DIRECTION_LTR.
Available in GTK+ 2.8 and above."pack-direction"Read-WriteThe pack direction of the menubar. It determines how
menuitems are arranged in the menubar.
Default value: gtk.PACK_DIRECTION_LTR.
Available in GTK+ 2.8 and above.
"internal-padding"ReadAmount of border space between the menubar shadow and
the menu items"shadow-type"ReadThe style of bevel around the menubar
gtk.MenuBar Signal Prototypesgobject.GObject Signal Prototypesgtk.Object Signal Prototypesgtk.Widget Signal Prototypesgtk.Container Signal Prototypesgtk.MenuShell Signal PrototypesDescriptionThe gtk.MenuBar is a
subclass of gtk.MenuShell
which contains one or more gtk.MenuItem
widgets. A gtk.MenuBar
displays the menu items horizontally in an application window or
dialog.Constructorgtk.MenuBarReturns :a new gtk.MenuBar
widgetCreates a new gtk.MenuBar
widget.Methodsgtk.MenuBar.set_pack_directionset_pack_directionpack_dirpack_dir :one of the .This method is available in PyGTK 2.8 and above.The set_pack_direction() sets the
"pack-direction" property to the value of
pack_dir. pack_dir must be one
of the that specify how
menuitems are arranged in the menubar.gtk.MenuBar.get_pack_directionget_pack_directionReturns :the current pack direction of the
menubar.This method is available in PyGTK 2.8 and above.The get_pack_direction() method returns
the value of the "pack-direction" property that specifies the arrangement
of menuitems in the menubar. See the for more
information.gtk.MenuBar.set_child_pack_directionset_child_pack_directionchild_pack_dirchild_pack_dir :one of the .This method is available in PyGTK 2.8 and above.The set_child_pack_direction() method
sets the "child-pack-direction" property to the value of
child_pack_dir. child_pack_dir
must be one of the that specify how
menuitems are arranged in the child menuitems of the menubar.gtk.MenuBar.get_child_pack_directionget_child_pack_directionReturns :the current child pack
directionThis method is available in PyGTK 2.8 and above.The get_child_pack_direction() method
returns the value of the "child-pack-direction" property that specifies the
arrangement of menuitems in thechild menuitems of the menubar. See the for more
information.