1menubutton(n)                   Tile Widget Set                  menubutton(n)
2
3
4

NAME

6       ttk::menubutton - Widget that pops down a menu when pressed
7

SYNOPSIS

9       ttk::menubutton pathName ?options?
10

DESCRIPTION

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

OPTIONS

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

WIDGET COMMAND

26       Menubutton  widgets  support the standard cget, configure, instate, and
27       state methods.  No other widget methods are used.
28

SEE ALSO

30       widget(n), keynav(n), menu(n)
31

KEYWORDS

33       widget, button, menu
34
35
36
37tile                                  0.2                        menubutton(n)
Impressum