Drawing in "Slow motion".

Hans Kristian Ruud hans at inenco.no
Tue Feb 12 15:27:03 CET 2002


Hello.

I have written a small script concerned with some drawing into a Canvas
widget
(The actual drawing procedure is triggered by an event bound to a
Button).

My problem is that I would like the program to draw one line at a time;
then
pause, then draw the next line... and so on.

I have tried to insert pauses by calling time.seep,
however, the drawing operations are realized only
when the drawing procedure ends and program control is resumed by

root.mainloop()

Any suggestions?


Thanx in advance

- hans kristian -





More information about the Python-list mailing list