Pmw.MenuBar() - manager widget for menu buttons and menus
This class creates a manager widget for containing menus. There are methods to add menu buttons and menus to the menu bar and for adding menu items to the menus. Menu buttons may be added to the left or right of the widget. Each menu button and menu item may have help text to be displayed by a Pmw.Balloon widget.
Menu buttons and menu components are created dynamically by
the addmenu()
method. By default, the buttons are of type
Tkinter.Menubutton and are created with a component group of
Button. Menus are of type Tkinter.Menu and are created with
a component group of Menu.
If the balloon option has been defined, balloonHelp and
statusHelp are passed to the balloon as the help strings for the
menu button. See the bind()
method of Pmw.Balloon for how these
strings may be displayed.
The menu button is created as a component named menuName-button and the menu is created as a component named menuName-menu. The method returns the menu button component widget.
Home. Pmw 0.6.2 Maintainer gregm@iname.com. 23 Feb 1998