[Tkinter-discuss] slow moving on Canvas

Pavel Kosina geon at post.cz
Sun Jul 23 16:50:44 CEST 2006

I got two similar programs-  one in Livewires and one in Tkinter. Just 
moving the player on a canvas. Why is that one in Tkinter so slow? What 
did I miss? Livewires is based on Tkinter, so it should be the same. I 
looked at the code of Livewires, tried something, but no success. Maybe  
its because of sleeping part in event handler in Tkinter, that is 
somehow (how?) bypassed in Livewires by magic 
tkinter.dooneevent(tkinter.DONT_WAIT). Neither this worked with me.

Could anyone help?
Both programs attached.

Pavel Kosina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: robotsTk.py
Type: text/x-python
Size: 808 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20060723/6d66356c/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: robotsLivewires.py
Type: text/x-python
Size: 746 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20060723/6d66356c/attachment-0001.py 

More information about the Tkinter-discuss mailing list