1menubutton(n) Tile Widget Set menubutton(n)
2
3
4
6 ttk::menubutton - Widget that pops down a menu when pressed
7
9 ttk::menubutton pathName ?options?
10
12 A menubutton widget displays a textual label and/or image, and displays
13 a menu when pressed. -class -compound -cursor -image
14 -state -style -takefocus -text -textvariable -under‐
15 line -width
16
18 [-direction direction] Specifies where the menu is to be popped up rel‐
19 ative to the menubutton. One of: above, below, left, right, or flush.
20 The default is below. flush pops the menu up directly over the
21 menubutton. [-menu menu] Specifies the path name of the menu associ‐
22 ated with the menubutton. To be on the safe side, the menu ought to be
23 a direct child of the menubutton.
24
26 Menubutton widgets support the standard cget, configure, instate, and
27 state methods. No other widget methods are used.
28
30 widget(n), keynav(n), menu(n)
31
33 widget, button, menu
34
35
36
37tile 0.2 menubutton(n)