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

Method __init__

Lib/tkinter/ttk.py:577–589  ·  view source on GitHub ↗

Construct a Ttk Button widget with the parent master. STANDARD OPTIONS class, compound, cursor, image, state, style, takefocus, text, textvariable, underline, width WIDGET-SPECIFIC OPTIONS command, default, width

(self, master=None, **kw)

Source from the content-addressed store, hash-verified

575 evaluates a command when pressed."""
576
577 def __init__(self, master=None, **kw):
578 """Construct a Ttk Button widget with the parent master.
579
580 STANDARD OPTIONS
581
582 class, compound, cursor, image, state, style, takefocus,
583 text, textvariable, underline, width
584
585 WIDGET-SPECIFIC OPTIONS
586
587 command, default, width
588 """
589 Widget.__init__(self, master, "ttk::button", kw)
590
591
592 def invoke(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected