A checkbutton that tracks its own state: use selected() method to check its state.
def __init__(self, parent, **kw):
def _command(self):
Called when the button is toggled.
Turns the checkbutton "off".
Turns the checkbutton "on".
Returns true if the checkbutton is selected, false if not.
Toggles the state of the checkbutton.
deselect(self)
def deselect(self):
select(self)
def select(self):
selected(self)
def selected(self):
toggle(self)
def toggle(self):