...) I can't seem to find how to write a function and pass a variable. Any suggestions on where to find the proper way of writting a function?sub close_win(var) { var->destory; } button(-command=>\&close_win($thiswindow))->pack...
edited by ybiC: s/pre/code as per Monastery convention for example code
In reply to Functions and Tk by surrealistfashion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |