Tkinter: centering windows on screen

Kevin Cazabon kcazabon at home.com
Sun Apr 9 17:28:06 CEST 2000


I'm having a bit of a problem controlling where on screen a Toplevel() or
Tk() widget appears on the screen...

I have some large widgets that sometimes appear partially off-screen, and I
want to make sure that (at least) they're centered.

Any pointers to the best solution would be appreciated... I've searched
through Fred's Tkinter manual online, but no luck.

Kevin.





More information about the Python-list mailing list