I think the answer you should find under Subject: Tkinter slowes down
---
geon
Exception is rule.
phil napsal(a):
> Using Tkinter Canvas to teach High School Geometry
> with A LOT of success.
>
> My drawing gets very slow after a lot of actions.
>
> For instance I have created code to rotate a
> I seem to remember a thread a while ago about a 'bug' with the Tk Canvas
> widget keeping a reference to objects that had been deleted...
>
> Have you thought about using the 'move' method to move your lines? I
> think this will result in less supprises...
>
Actually I solved that problem.
phil wrote:
> Using Tkinter Canvas to teach High School Geometry
> with A LOT of success.
>
> My drawing gets very slow after a lot of actions.
>
> For instance I have created code to rotate a set of objects
> about a rotation point.
> rotate 360 degrees starts to get slow
> after 720 degrees its
phil wrote:
> def __del__(s):
> line.count = line.count - 1
>
> ## delete the line object if the
> ## class instance is deleted
> s.glob.can.delete(s.obj)
>
>
> After the rotation I check line.count and it is 3
Did you know that exceptions are ignored in the __del__() method?
One way to verify
>> Using Tkinter Canvas to teach High School Geometry
>> with A LOT of success.
>Can you post a link to your code.
>I'd like to see what you are doing.
>Thx,
>Alan Isaac
Yes, I will release it open source at the end of may.
There are too many features I want to add to release it now.
Essentially it
"phil" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Using Tkinter Canvas to teach High School Geometry
> with A LOT of success.
Can you post a link to your code.
I'd like to see what you are doing.
Thx,
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
Using Tkinter Canvas to teach High School Geometry
with A LOT of success.
My drawing gets very slow after a lot of actions.
For instance I have created code to rotate a set of objects
about a rotation point.
rotate 360 degrees starts to get slow
after 720 degrees its crawling.
I checked the item li