How can I set the size of a window with tkinter?

Fredrik Lundh fredrik at pythonware.com
Tue Sep 27 15:44:15 EDT 2005


Tor Erik Sønvisen wrote:

> I create a canvas that is to big for the default window-size, so it gets cut to fit...

what default window size?  what geometry management approach are
you using?

(if you're using pack or grid, your toplevel window should adapt itself
to the canvas size, unless you're using an obnoxious window manager.
if you do, Tkinter may not be able to do much about that...)

</F> 






More information about the Python-list mailing list