[Tutor] Is there an easy way to center the root window (Tkinter) within the display?

boB Stepp robertvstepp at gmail.com
Wed Nov 26 17:46:58 CET 2014

Python 2.4.4
Solaris 10

I can accomplish this by getting the screen height and width and
calculating pixel coordinates. But so far I have not found something
equivalent to anchor = 'CENTER' that can be applied to the root
window. Does such an easy attribute, method, or whatever exist in


More information about the Tutor mailing list