
34 Perl/Tk Pocket Reference
-direction => direction
Where to pop up menu; direction is one of
above, below,
left, right, or flush.
-indicatoron => boolean
If true, then a small indicator will be displayed on the but-
ton’s right side and the default menu bindings will treat
this as an option menubutton.
-menu => menuRef
Menu widget to post when button is invoked.
-menuitems => [[type, label ?, -option => value?] ]
A list of menuitem types, like button, with the text label
and optional parameters.
-menuitems can be nested.
This allows you to create a menubutton’s entire menu
with a data structure. (See The Menu Widget.)
Message
-aspect => integer
Displays text according to the ratio of text width to text
height times 100.
-borderwidth -relief
-cursor -state
-disabledforeground -takefocus
-font -text
-foreground -textvariable
-height -underline
-highlightbackground -width
-highlightcolor -wraplength
-anchor -justify
-background -padx
-borderwidth -pady
-cursor -relief
-font -takefocus
-foreground -text
-highlightbackground -textvariable
-highlightcolor -width
-highlightthickness