The Tk checkbutton's "toggle" command is the ttk::checkbutton's
"invoke" command.
pathname invoke
*Toggles* between the selected and deselected states and
evaluates the associated -command. If the widget is
currently selected, sets the -variable to the -offvalue
and deselects the widget; otherwise, sets the -variable
to the -onvalue Returns the result of the -command.