[Tutor] How to center teh window using Tkinter

Asrarahmed Kadri ajkadri at googlemail.com
Thu Dec 7 13:17:16 CET 2006


Hi folks,


I want to center the window.

I am using Tkinter and want to center the window as per the screen size. The
size of the window is not fixed, I mean the height is not fixed, so I cannot
use fixed parameters that can be passed to geometry() method.

IF the height is more, the window should be positioned at the top..

I hope I am clear about my question.

Thanks in anticipation.

Best Regards,
Asrarahmed Kadri
-- 
To HIM you shall return.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061207/d0476c79/attachment.html 


More information about the Tutor mailing list