window placement w/ Tkinter

Matthew Dixon Cowles matt at mondoinfo.com
Fri Dec 8 06:21:10 CET 2000


On Fri, 8 Dec 2000 10:00:27 -0000, Tony <colaveaj at sirinet.net> wrote:

>I am creating GUI apps and cant figure out how to set the placement
>on the screen of my frames.  I dont see anything in the constructor
>for it.  How is this done?

To set the geometry of your windows, you need to use the geometry()
method. See (wrapped for line length):

http://www.pythonware.com/library/tkinter/introduction/
  x9489-window-geometry-methods.htm

in Fredrik Lundh's excellent An Introduction to Tkinter.

Regards,
Matt



More information about the Python-list mailing list