MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/tkinter/__init__.py:3192–3202  ·  view source on GitHub ↗

Construct a checkbutton widget with the parent MASTER. Valid resource names: activebackground, activeforeground, anchor, background, bd, bg, bitmap, borderwidth, command, cursor, disabledforeground, fg, font, foreground, height, highlightbackground, highlightcolor, h

(self, master=None, cnf={}, **kw)

Source from the content-addressed store, hash-verified

3190 """Checkbutton widget which is either in on- or off-state."""
3191
3192 def __init__(self, master=None, cnf={}, **kw):
3193 """Construct a checkbutton widget with the parent MASTER.
3194
3195 Valid resource names: activebackground, activeforeground, anchor,
3196 background, bd, bg, bitmap, borderwidth, command, cursor,
3197 disabledforeground, fg, font, foreground, height,
3198 highlightbackground, highlightcolor, highlightthickness, image,
3199 indicatoron, justify, offvalue, onvalue, padx, pady, relief,
3200 selectcolor, selectimage, state, takefocus, text, textvariable,
3201 underline, variable, width, wraplength."""
3202 Widget.__init__(self, master, 'checkbutton', cnf, kw)
3203
3204 def _setup(self, master, cnf):
3205 # Because Checkbutton defaults to a variable with the same name as

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected