Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl/Tk widget removal problem...

by converter (Priest)
on Aug 29, 2003 at 20:04 UTC ( [id://287822]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub grid
    {
    ...
       return $w;
      }
    }
    
  2. or download this
    $ perl -MTk -e '$m=tkinit; $f=$m->Frame->pack; $b=$f->Button(-text=>"F
    +oo")->grid; $m->after(750,sub{Tk::grid("remove",$b)}); MainLoop'
    
  3. or download this
    --- Widget.pm.orig    2003-08-29 14:53:46.000000000 -0500
    +++ Widget.pm    2003-08-29 14:45:14.000000000 -0500
    ...
       {
        my $opt = shift;
        Tk::grid($opt,$w,@_);
    

Log In?
Username:
Password:

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

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

    No recent polls found