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

Method __init__

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:570–582  ·  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

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected