Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Dynamically destroying a window in Tk?

by Ytrew (Pilgrim)
on Dec 05, 2004 at 23:24 UTC ( [id://412547]=note: print w/replies, xml ) Need Help??


in reply to Dynamically destroying a window in Tk?

Well, first of all, without knowing if your Perl/TK call to destroy works, I can see that your call to quit() has problems.

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

  • Comment on Re: Dynamically destroying a window in Tk?

Replies are listed 'Best First'.
Re^2: Dynamically destroying a window in Tk?
by Spidy (Chaplain) on Dec 05, 2004 at 23:27 UTC
    I tried to do that, and it didn't work. I'm trying to pass the actual variable, not it's contents, so that I can use destroy on the variable. If that made any sense.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://412547]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found