Construct a checkbutton widget with the parent MASTER. Valid option names: activebackground, activeforeground, anchor, background, bd, bg, bitmap, borderwidth, command, cursor, disabledforeground, fg, font, foreground, height, highlightbackground, highlightcolor, hig
(self, master=None, cnf={}, **kw)
| 3271 | """Checkbutton widget which is either in on- or off-state.""" |
| 3272 | |
| 3273 | def __init__(self, master=None, cnf={}, **kw): |
| 3274 | """Construct a checkbutton widget with the parent MASTER. |
| 3275 | |
| 3276 | Valid option names: activebackground, activeforeground, anchor, |
| 3277 | background, bd, bg, bitmap, borderwidth, command, cursor, |
| 3278 | disabledforeground, fg, font, foreground, height, |
| 3279 | highlightbackground, highlightcolor, highlightthickness, image, |
| 3280 | indicatoron, justify, offvalue, onvalue, padx, pady, relief, |
| 3281 | selectcolor, selectimage, state, takefocus, text, textvariable, |
| 3282 | underline, variable, width, wraplength.""" |
| 3283 | Widget.__init__(self, master, 'checkbutton', cnf, kw) |
| 3284 | |
| 3285 | def _setup(self, master, cnf): |
| 3286 | # Because Checkbutton defaults to a variable with the same name as |