at the time the button was created and that is done by passing it as an argument to the callback thus:
Or using a proper closure like I showed twice already
In reply to Re^7: Clearing anonymous Tk widgets
by Anonymous Monk
in thread Clearing anonymous Tk widgets
by murrayn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |