Tkinter question

Joel Davis joeld at anisci.com
Wed Jul 21 19:53:38 EDT 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?

joel

--
----------------------------------------------------------------
                                                joeld at anisci.com






More information about the Python-list mailing list