1ttk::menubutton(n)             Tk Themed Widget             ttk::menubutton(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       ttk::menubutton - Widget that pops down a menu when pressed
9

SYNOPSIS

11       ttk::menubutton pathName ?options?
12_________________________________________________________________
13

DESCRIPTION

15       A  ttk::menubutton  widget  displays  a textual label and/or image, and
16       displays a menu when pressed.
17

STANDARD OPTIONS

19       -class                -compound            -cursor
20       -image                -state               -style
21       -takefocus            -text                -textvariable
22       -underline            -width
23
24       See the ttk_widget manual entry for details on the standard options.
25

WIDGET-SPECIFIC OPTIONS

27       [-direction direction] Specifies where the menu is to be popped up rel‐
28       ative  to the menubutton.  One of: above, below, left, right, or flush.
29       The default is below.   flush  pops  the  menu  up  directly  over  the
30       menubutton.   [-menu menu]  Specifies the path name of the menu associ‐
31       ated with the menubutton.  To be on the safe side, the menu ought to be
32       a direct child of the menubutton.
33

WIDGET COMMAND

35       Menubutton  widgets  support  the  standard  cget, configure, identify,
36       instate, and state methods.  No other widget methods are used.
37

SEE ALSO

39       ttk::widget(n), menu(n), menubutton(n)
40

KEYWORDS

42       widget, button, menu
43
44
45
46Tk                                    8.5                   ttk::menubutton(n)
Impressum