Tkinter: centering windows on screen

Kevin Cazabon kcazabon at
Sun Apr 9 11:28:06 EDT 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.


More information about the Python-list mailing list