Next: Message
Up: Widgets
Previous: Menu
Contents
Index
Menubutton
The following keyword arguments are available for creating an instance of the menubutton and for configuring it
- activebackground
background of the active area
- activeforeground
foreground color for active widgets (when the mouse cursor is over the widget)
- anchor
specify the alignment of text/image drawn on the widget, one of (:n :w :s :e :nw :sw :se :ne) with :nw designating the top left corner
- background
background color of the widget
- bitmap
the bitmap to display on the widget, the display is affected by the options 'anchor' and 'justify'
- borderwidth
width of the border around the widget in pixels
- compound
- cursor
mouse pointer to display on the widget (valid values are listed in *cursors*)
- direction
- disabledforeground
- font
font to use to display text on the widget
- foreground
foreground color of the widget
- height
height of the widget
- highlightbackground
- highlightcolor
- highlightthickness
- image
the image to display on the widget, the display is affected by the options 'anchor' and 'justify'
- indicatoron
- justify
justification of the text on the widget
- menu
- padx
padding around text displayed on the widget
- pady
padding around text displayed on the widget
- relief
relief of the widgets border (raised, sunken, ridge, groove)
- state
- takefocus
if true, the widget can take the focus
- textvariable
- underline
- width
width of the widget
- wraplength
Next: Message
Up: Widgets
Previous: Menu
Contents
Index
Peter Herth
2006-01-29