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       Command-Line Name:-direction
28       Database Name:  direction
29       Database Class: Direction
30
31              Specifies where the menu is to be  popped  up  relative  to  the
32              menubutton.   One  of: above, below, left, right, or flush.  The
33              default is below.  flush pops the  menu  up  directly  over  the
34              menubutton.
35
36       Command-Line Name:-menu
37       Database Name:  menu
38       Database Class: Menu
39
40              Specifies the path name of the menu associated with the menubutā€
41              ton.  To be on the safe side, the menu  ought  to  be  a  direct
42              child of the menubutton.
43

WIDGET COMMAND

45       Menubutton  widgets  support  the  standard  cget, configure, identify,
46       instate, and state methods.  No other widget methods are used.
47

STANDARD STYLES

49       Ttk::menubutton widgets support the Toolbutton style  in  all  standard
50       themes, which is useful for creating widgets for toolbars.
51

SEE ALSO

53       ttk::widget(n), menu(n), menubutton(n)
54

KEYWORDS

56       widget, button, menu
57
58
59
60Tk                                    8.5                   ttk::menubutton(n)
Impressum