You can create a new Toplevel, populate it, and tell it to destroy itself after a time passes. For example (untested):
my $box = $mw->Toplevel; my $message = $box->ROText->pack; $message->insert(end => "Hey there! Gotta go!"); $box->after(3000, sub { shift->destroy });
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Perl::Tk - removing a message box automatically
by merlyn
in thread Tk - removing a message box automatically
by crabbdean
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |