Ttk Menubutton widget displays a textual label and/or image, and displays a menu when pressed.
| 761 | |
| 762 | |
| 763 | class Menubutton(Widget): |
| 764 | """Ttk Menubutton widget displays a textual label and/or image, and |
| 765 | displays a menu when pressed.""" |
| 766 | |
| 767 | def __init__(self, master=None, **kw): |
| 768 | """Construct a Ttk Menubutton with parent master. |
| 769 | |
| 770 | STANDARD OPTIONS |
| 771 | |
| 772 | class, compound, cursor, image, state, style, takefocus, |
| 773 | text, textvariable, underline, width |
| 774 | |
| 775 | WIDGET-SPECIFIC OPTIONS |
| 776 | |
| 777 | direction, menu |
| 778 | """ |
| 779 | Widget.__init__(self, master, "ttk::menubutton", kw) |
| 780 | |
| 781 | |
| 782 | class Notebook(Widget): |
no outgoing calls
no test coverage detected
searching dependent graphs…