How can I change size of GUI?

John Posner jjposner at snet.net
Tue Apr 7 09:07:51 EDT 2009


> For what definition of 'did not work'? Seems perfectly fine to me. Just try to
> add the lines:
>
> root = Tk()
>   

Try adding a line like this:

     root.geometry("400x300+100+75")

... which means: "make the window 400 pixels wide and 300 pixels high,
with the upperleft corner at point (100,75)"

> frm = ScrolledFrame(root)
> frm.pack()
> root.mainloop()
>   



More information about the Python-list mailing list