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

Method __init__

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

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

(self, master=None, **kw)

Source from the content-addressed store, hash-verified

591 """Ttk Checkbutton widget which is either in on- or off-state."""
592
593 def __init__(self, master=None, **kw):
594 """Construct a Ttk Checkbutton widget with the parent master.
595
596 STANDARD OPTIONS
597
598 class, compound, cursor, image, state, style, takefocus,
599 text, textvariable, underline, width
600
601 WIDGET-SPECIFIC OPTIONS
602
603 command, offvalue, onvalue, variable
604 """
605 Widget.__init__(self, master, "ttk::checkbutton", kw)
606
607
608 def invoke(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected