StatefulCheckbutton

A checkbutton that tracks its own state: use selected() method to check its state.

Base Classes

Methods

__init__(self, parent, **kw)

   def __init__(self, parent, **kw):

_command(self)

   def _command(self):

Called when the button is toggled.

deselect(self)

   def deselect(self):

Turns the checkbutton "off".

select(self)

   def select(self):

Turns the checkbutton "on".

selected(self)

   def selected(self):

Returns true if the checkbutton is selected, false if not.

toggle(self)

   def toggle(self):

Toggles the state of the checkbutton.