On Wed, Jan 31, 2018 at 11:12 AM, Edward K. Ream <[email protected]>
wrote:

- *Sclerotic*: Leo's concrete gui code.
>
> Terry has made Leo's gui more flexible than it was, but Qt seems to be
> showing signs of age.
> ​[snip]​
>
>
> Leo could simulate the js DOM with a new Leonine API.  For example, it
> would be possible to simulate  getElementByName by searching through Leo's
> Qt widgets, using widget.parent(), widget.children() and widget.objectName()
>

​Terry's NestedSplitter class in ​leo/plugins/nested_splitter.py already
has similar code. ns.get_splitter_by_name, the local "hunter" function in
ns.add_adjacent, and ns.find_child all do a dynamic search.

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 [email protected].
To post to this group, send email to [email protected].
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