TCL/TK and C

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
If I recall correctly, one of a button's options is the code it should to execute when it is pressed. You can set that option when you create the button or afterwards. It doesn't have to be just a command either. The code can be anything in {} block. But watch out for scoping if you include variable references in the block.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.