MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / Menubutton

Class Menubutton

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:753–769  ·  view source on GitHub ↗

Ttk Menubutton widget displays a textual label and/or image, and displays a menu when pressed.

Source from the content-addressed store, hash-verified

751
752
753class Menubutton(Widget):
754 """Ttk Menubutton widget displays a textual label and/or image, and
755 displays a menu when pressed."""
756
757 def __init__(self, master=None, **kw):
758 """Construct a Ttk Menubutton with parent master.
759
760 STANDARD OPTIONS
761
762 class, compound, cursor, image, state, style, takefocus,
763 text, textvariable, underline, width
764
765 WIDGET-SPECIFIC OPTIONS
766
767 direction, menu
768 """
769 Widget.__init__(self, master, "ttk::menubutton", kw)
770
771
772class Notebook(Widget):

Callers 1

toc_menuMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected