Message18384
| Author |
glingl |
| Recipients |
| Date |
2003年09月26日.10:33:58 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
interactive use of turtle.py becomes impossible,
e.g.when issuing tracer(0) because in this
case apparently updating of Canvas-Widget is
deferred ...
... until the next tracer(1)
(one can observe this when running the demo() )
Inserting a _canvas.update() call in _draw_turtle()
for the case that tracing is off seems to work:
def _draw_turtle(self,position=[]):
if not self._tracing:
self._canvas.update() # <== insert this line!
return
if position == []: # etc.etc.
I have attached a corrected version as turtle_.py
Gregor Lingl
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:17:14 | admin | link | issue812986 messages |
| 2007年08月23日 14:17:14 | admin | create |
|