On Friday 28 October 2005 10:38, Tuvas wrote: > I'm tyring to set the size of the window that is opened when you open a > Tkinter window, without much sucess. I have tried changing the heigth > and width atributes, but it doesn't do anything. I tried using the > grid_propagate command that I saw to use, but made the window even > smaller... What can I do? Thanks!
Here is a very simple way: from Tkinter import * app = Tk() app.geometry("%dx%d%+d%+d" % (600, 400, 0, 0)) f = Frame(app) f.pack() app.mainloop() -- James Stroud UCLA-DOE Institute for Genomics and Proteomics Box 951570 Los Angeles, CA 90095 http://www.jamesstroud.com/ -- http://mail.python.org/mailman/listinfo/python-list