[issue22065] Update turtledemo menu creation
Terry J. Reedy
report at bugs.python.org
Wed Aug 27 07:51:42 CEST 2014
Terry J. Reedy added the comment:
Before the patch, the Examples menu was disabled while a demo was running by setting the Menubutton state to DISABLED versus NORMAL. This does not work for the cascaded Menu. The result was buggy behavior when loading a new demo while the previous one was running.
Since having the menu disabled was annoying anyway, I changed the loading code to do what the Stop button does. I also cleaned up the control flow of a couple of related functions and the return value for the Nim demo.
The next patch will removed the now unused menu state setting.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22065>
_______________________________________
More information about the Python-bugs-list
mailing list