Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: I want Tk::Splashscreen not centered.

by Khen1950fx (Canon)
on Oct 24, 2013 at 07:38 UTC ( [id://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'}, );

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1059400]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-25 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found