MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/tkinter/ttk.py:767–779  ·  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

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
782class Notebook(Widget):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected