This is following the way that the demo application code is factored:
- move the bulk of the code into
traitsui/extras/tutor.py
- keep a simple main function in
examples/tutorial/tutor.py that imports the main class, configures it appropriately, and runs it.
See also enthought/traits#505
This is following the way that the demo application code is factored:
traitsui/extras/tutor.pyexamples/tutorial/tutor.pythat imports the main class, configures it appropriately, and runs it.See also enthought/traits#505