Next: Menubutton
 Up: Widgets
 Previous: Listbox
     Contents 
     Index 
Menu
The following keyword arguments are available for creating an instance of the menu and for configuring it
- activebackground 
                background of the active area
 
- activeborderwidth 
                the border width for active widgets (when the mouse cursor is over the widget)
 
- activeforeground 
                foreground color for active widgets (when the mouse cursor is over the widget)
 
- background 
                background color of the widget
 
- borderwidth 
                width of the border around the widget in pixels
 
- cursor 
                mouse pointer to display on the widget (valid values are listed in *cursors*)
 
- disabledforeground 
 
- font 
                font to use to display text on the widget
 
- foreground 
                foreground color of the widget
 
- postcommand 
 
- relief 
                relief of the widgets border (raised, sunken, ridge, groove)
 
- selectcolor 
 
- takefocus 
                if true, the widget can take the focus
 
- tearoff 
                if true, the menu can be torn off
 
- tearoffcommand 
 
- title 
 
- type 
 
 
 
 
 
 
 Next: Menubutton
 Up: Widgets
 Previous: Listbox
     Contents 
     Index 
Peter Herth
2006-01-29