Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Splash screen increasing load time

by Khen1950fx (Canon)
on Dec 22, 2012 at 06:51 UTC ( [id://1009980]=note: print w/replies, xml ) Need Help??


in reply to Splash screen increasing load time

This worked for me.
#!/usr/local/bin/perl BEGIN { $| = 1; $^W = 1; } use strict; use warnings; use Tk; use Tk::Splashscreen; use Tk::widgets qw/Photo/; my $ssw = MainWindow->new; $ssw->Button( -text => 'Quit', -command => \&exit, )->pack; my $sp= $ssw->Splashscreen(-milliseconds => 5000); my $giffer = '/path/to/some.gif'; $sp->Label( -image => $ssw->Photo( -file => $giffer, ))->pack; $sp->Splash; $ssw->after(1000); print "Waiting for Splashscreen to finish...\n"; $sp->Destroy; $ssw->deiconify; MainLoop;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-23 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found