Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: tk messagebox position

by Anonymous Monk
on Oct 10, 2011 at 14:25 UTC ( #930648=note: print w/ replies, xml ) Need Help??


in reply to tk messagebox position

I need help here to position the tk messagebox

Its a good and smart thing that a messagebox pops up on the center of the screen (or wherever the window manager decides to position it_ -- there is nothing to fix here, move along :)

How can I make it displayed somewhere else, relative to the application main window instead of center of the screen?

Search for tk window position, like site:perlmonks.org tk window position and find Tk centering main window on screen.

I used ->place() and it didn't work.

Tk::place is a geometry manager, it is used for positioning widgets within a window, it is not used for positioning windows on screen


Comment on Re: tk messagebox position

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-07-30 02:38 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 (269 votes), past polls