Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: I want Tk::Splashscreen not centered.

by ric00015 (Beadle)
on Oct 24, 2013 at 14:54 UTC ( #1059489=note: print w/ replies, xml ) Need Help??


in reply to Re: I want Tk::Splashscreen not centered.
in thread I want Tk::Splashscreen not centered.

Alas, that didn't work either. I had the $splash->geometry("+20+20"); right after $splash->Splash;, just like you said, but no dice. I even put the geometry command right after the creation code: our $splash = $parent->Splashscreen(-milliseconds => 3000); but still it was stuck in the middle.


Comment on Re^2: I want Tk::Splashscreen not centered.
Select or Download Code
Re^3: I want Tk::Splashscreen not centered.
by keszler (Priest) on Oct 24, 2013 at 15:21 UTC
    The example program for Tk::Splashscreen is http://cpansearch.perl.org/src/LUSOL/Tk-Splashscreen-1.0/splashscreen.pl. On my system (WinXP 64 w/ Activestate 5.12.2), adding the $splash->geometry("+20+20"); command as above succeeded in moving the splash window.

    If this isn't the case for you, please reduce your program to the minimum needed to demonstrate the problem and post it as a new question, along with details of your OS and Perl versions. (More people will see a new SoPW than will see new replies in this one.)

      Bam! I got it. The splash screen no longer lingers in the crack between screens. Thanks for your advice. I had to tinker with an example for a while. At first I was trying to make it duplicate the behavior I was seeing, but ended up doing it the right way and copied that over. :)

      I do have another question, but I'll go ahead and put it in another node, as you suggested.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-09-18 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls