Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl/Tk widget removal problem...

by converter (Priest)
on Aug 29, 2003 at 20:04 UTC ( #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
Node Status?
node history
Node Type: note [id://287822]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2021-01-17 18:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?