ldx has asked for the wisdom of the Perl Monks concerning the following question:
I've also tried to put the image on a label instead of on a canvas:my $splash = $mw->Splashscreen(-milliseconds => 3000); my $canvas = $splash->Canvas(-width => 420, -height => 300)->pack; $canvas->createImage(0, 0, -anchor => 'nw', -image => $mw->Photo(-file => 'gfx/splash.png')); $mw->withdraw; $splash->Splash();
But the result is the same. I've read in Perl-Tk's docs, and I've seen here and there that backgrounds can be set to be transparent by setting the -background to undef. But that doesn't seem to help me too.$splash->Label(-image => $mw->Photo(-file => 'gfx/splash.png'));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Splashscreen with transparency
by zentara (Cardinal) on Oct 09, 2008 at 12:05 UTC | |
by ldx (Initiate) on Oct 10, 2008 at 10:33 UTC | |
by zentara (Cardinal) on Oct 10, 2008 at 11:21 UTC | |
|
Re: Splashscreen with transparency
by Anonymous Monk on Oct 09, 2008 at 07:15 UTC |