Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Clearing anonymous Tk widgets

by Anonymous Monk
on Aug 31, 2012 at 10:34 UTC ( [id://990975]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Clearing anonymous Tk widgets
in thread Clearing anonymous Tk widgets

I did consider that but I don't know the name of $goner in advance.

Yes you do, its $_, its the keys of %runtime -- if thats not the case, you'll have to restate your question

Replies are listed 'Best First'.
Re^4: Clearing anonymous Tk widgets
by murrayn (Sexton) on Aug 31, 2012 at 10:54 UTC
    Unless I've done something silly (highly plausible explanation!), I'm not seeing evidence to support that theory. $_ is the value of the key when I build the line in the GUI window and it displays exactly as I'd expect it to and when I put a button on the line saying delete $runtime{$_} it works the first time then objects the second time (makes sense too - the delete worked, so there's nothing there now). So now I want to remove the line from the GUI and I don't have a Tk widget name to destroy.

      Unless I've done something silly (highly plausible explanation!) ... So now I want to remove the line from the GUI and I don't have a Tk widget name to destroy

      What line from what GUI?

      See Re^3: Clearing anonymous Tk widgets and make sense :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-25 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found