invoke

(#<widget> 'invoke)
Does just what would have happened if the user invoked the checkbutton with the mouse: toggle the selection state of the button and invoke the Tcl command associated with the checkbutton, if there is one.

The return value is the return value from the Tcl command, or an empty string if there is no command associated with the checkbutton.

This command is ignored if the checkbutton's state is disabled.


© Author | Home | Sitemap