Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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: (15)
As of 2014-10-02 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (59 votes), past polls