def __init__(self, master, **kw): Checkbutton.__init__(self, master, command=self.command, **kw)
def __init__(self, master, **kwargs): Checkbutton.__init__(self, master, **kwargs) self.configure(style="TButton", command=self._stateChanged)