Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: I want Tk::Splashscreen not centered.

by Khen1950fx (Canon)
on Oct 24, 2013 at 07:38 UTC ( #1059400=note: print w/ replies, xml ) Need Help??


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

The format for display would be similar to this:

#!/usr/bin/perl use strict; use warnings; use Tk; use Tk::Splashscreen; my $mw1 = MainWindow->new; my $mw2 = MainWindow->new( -screen => $ARGV[0] ||= $ENV{'DISPLAY'}, );


Comment on Re: I want Tk::Splashscreen not centered.
Download Code
Re^2: I want Tk::Splashscreen not centered.
by Anonymous Monk on Oct 24, 2013 at 08:18 UTC

    The format for display would be similar to this:

    Well, the OP talked about format for -screen and you don't show any format for the kind of argument -screen takes

Re^2: I want Tk::Splashscreen not centered.
by ric00015 (Beadle) on Oct 24, 2013 at 14:49 UTC

    Thanks for that suggestion, but, alas, it didn't work. Or rather, it worked, but like ':0', just leaving the value blank, or even no -screen at all. It was still firmly in the middle of my 2 screens.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2014-07-13 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (247 votes), past polls