iic has asked for the wisdom of the Perl Monks concerning the following question:
use Tk; $MW=MainWindow->new(-title=>'MyWindow'); $MW->Button( -text=>'change', -command=>\&change)->pack; $LB=$MW->Label(-text=>'...')->pack; MainLoop; sub change { $LB->configure(-text=>'case 1'); sleep 3; $LB->configure(-text=>'case 2'); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: A question about Tk.
by atl (Pilgrim) on Oct 12, 2000 at 15:39 UTC |