[issue16941] TkInter won't update display on OS X if delay is too small

Leon Maurer report at bugs.python.org
Sat Jan 12 22:44:43 CET 2013


Leon Maurer added the comment:

It seems to depend on what you're doing. Plus, the delay I needed turned an already slow animation in to a slide show.

In this case, a better fix seems to be sticking a "root.update()" right before the "root.after". Then it works with no delay. However, apparently it's a little dangerous to use:

http://mail.python.org/pipermail/tkinter-discuss/2013-January/003346.html

In my case, the only side effect seems to be that using the menu effectively pauses the simualtion.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16941>
_______________________________________


More information about the Python-bugs-list mailing list