Tkinter question

Joel Davis joeld at
Thu Jul 22 01:53:38 CEST 1999

I've got a tkinter canvas, and I want to get it's width.... I call

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.. the canvas is
getting resized (it has a visible background color)..

any ideas?


                                                joeld at

More information about the Python-list mailing list