http://www.perlmonks.org?node_id=930648


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