Tkinter question

Greg Ewing greg.ewing at compaq.com
Thu Jul 22 17:12:24 EDT 1999


Joel Davis wrote:
> 
> w = int( thecanvas.cget("width") )
> 
> this works fine.. except when I resize the window, this still returns
> the width that the canvas was when it was created.

w = int(thecanvas.winfo_width())

Greg




More information about the Python-list mailing list