On Thursday, February 9, 2017 at 8:16:18 AM UTC-6, Edward K. Ream wrote:

> Rev cf424c5 completes the demo's docs, demo.md 
<https://github.com/leo-editor/leo-editor/blob/master/leo/doc/demo.md>, for 
now. This may jiggle a bit, but the big picture will not change.

I spent yesterday developing just a few "real" slides. This helped debug 
demo.py. The documentation in demo.md reflects the latest work.

I am confident that little will change in demo.py:

1. There is a clear separation between the Demo class and the graphics 
classes. The Demo class runs the demo, provides a few helper methods for 
demo scripts, and a *few* utility methods for graphics classes.  That 

*all.2.* Top-level scripts can easily provide new graphics classes by 
overriding graphics classes in demo.py.  For example, a new ShowKey class 
would override Label to highlight a keystroke in a different style and 
location.  Just a few lines of code.

In short, demos won't need more help from the Demo class.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to