On Aug 3, 2:26 am, "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote:
> "frikk" wrote:
> > 1. ... Am I somehow leaving
> > objects laying around that aren't being deleted? Is create_rectangle
> > not the appropriate function to use?)
>
> Try calling the canvas's delete method with the old rect
"frikk" wrote:
> 1. ... Am I somehow leaving
> objects laying around that aren't being deleted? Is create_rectangle
> not the appropriate function to use?)
Try calling the canvas's delete method with the old rectangle before
making a new one.
- Hendrik
--
http://mail.python.org/mailma
frikk wrote:
> [...]
> As you can see- I am doing nothing other than drawing a lot of
> rectangles on the canvas.
You aren't drawing, but **creating** rectangle objects, as
a meth. name suggests. You find more info at tkinter.effbot.org.
> [...]
>
> def clear_grid():
canv.delete(ALL)
Hey everyone. I have been working with python for a couple years now,
but just recently built my first program with a GUI. I decided to
start with Tkinter since it is included with the base package,
although wxWindows will likely be my next choice. Tkinter seems to be
pretty slow for my needs.