My goal is it to see a button for 1 second and then it shall disappear. The following code is NOT working. It seems that the GUI is NOT updated after the first pack command. How can I force Perl/Tk to update the GUI after the first pack command?
Thank you very much for your help#!/usr/bin/perl use Tk; my $mw = new MainWindow; my $button = $mw->Button('-text' => 'GO')->pack; sleep(1); $button->packForget(); MainLoop();
In reply to How to force Perl/Tk to update the GUI? by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |