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

Re^2: Perl Tk : Displaying window in bottom right Corner

by murugaperumal (Sexton)
on Apr 03, 2010 at 04:05 UTC ( #832594=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Tk : Displaying window in bottom right Corner
in thread Perl Tk : Displaying window in bottom right Corner

Use the following code
use strict; use warnings; use Tk; # Main Window my $mw = MainWindow->new; $mw->geometry('+793+475'); MainLoop;

Replies are listed 'Best First'.
Re^3: Perl Tk : Displaying window in bottom right Corner
by stefbv (Deacon) on Apr 03, 2010 at 08:23 UTC

    On my screen, (1920x1080) your code will put a window almost on the center :)

    Update: I guess your screen resolution is 1024x768 (or 1024x800).

    Regards, Stefan

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://832594]
help
Chatterbox?
[1nickt]: Morning monks, howzit?
[ambrus]: AAAAAAARGH!
[ambrus]: something must be wrong here
[ambrus]: oh I see. I'm stupid
[marto]: hi 1nickt!
[ambrus]: The file I'm reading is already filtered, which is why I found only one kind of entry.
[1nickt]: Sorry to upset you brother Ambrus ...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-01-23 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (246 votes). Check out past polls.

    Notices?