Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Tk window location Win 7

by tybalt89 (Monsignor)
on Mar 09, 2020 at 18:33 UTC ( [id://11114032]=note: print w/replies, xml ) Need Help??


in reply to Tk window location Win 7

pack and place are for positioning subwindows inside a window, they should not matter.

Lacking code from you, here's a small example that puts up a main window and a top level window exactly where they are supposed to be.

#!/usr/bin/perl use strict; # https://perlmonks.org/?node_id=11114006 use warnings; use Tk; my $mw = MainWindow->new; $mw->geometry( '300x300+100+300' ); my $top = $mw->Toplevel(); $top->geometry( '300x300+500+300' ); MainLoop;

Log In?
Username:
Password:

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

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

    No recent polls found