[Tkinter-discuss] How to change Tk's size ?

Xin Wang xeranic at yahoo.com
Fri Oct 22 13:57:48 CEST 2004


How to change Tk's size ? I used 'config(width=500,
height=500)', but it dose not works!

#*start
from Tkinter import *
root = Tk()
root.config(width=500, height=500)
bt = Button(root, text="hello")
bt.pack()
root.mainloop()
#*end



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


More information about the Tkinter-discuss mailing list