You shouldn't use single quotes, or you'll pass the literal string '$windowname' to your function. It looks like you want to pass in the value of the $windowname variable instead. Remove the single quotes from the function call, and try again. :-)
Good luck!
--
Ytrew Q. Uiop
In reply to Re: Dynamically destroying a window in Tk?
by Ytrew
in thread Dynamically destroying a window in Tk?
by Spidy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |