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

Method __init__

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

Construct a Ttk Menubutton with parent master. STANDARD OPTIONS class, compound, cursor, image, state, style, takefocus, text, textvariable, underline, width WIDGET-SPECIFIC OPTIONS direction, menu

(self, master=None, **kw)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected