Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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
Replies are listed 'Best First'.
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 about the Monastery: (11)
As of 2015-07-30 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls