On Sat, Jul 20, 2024 at 10:31 AM Edward K. Ream <[email protected]> wrote:

>
> That was the first approach I tried.  Some of the layout-changing scripts
> insert "helper" widgets and make other tweaks, so no general solution is
> likely, much less an easy-to-understand solution.
>

Sorry for my ignorance on the subject, but can't you:

- find the top level frame, and destroy every child widget underneath it
(recursively if needed)
- rebuild the initial layout inside that top level frame (call some
c.buildGui function that would do the work)?

Not trying to distract from the undoers, it's a fine solution.  Just
curious if I'm missing something obvious here.

Jake

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAJ1i%2BSYsQiejieVdpba4e6L00c_4E9EO%3DgvNiShFqdLw93D4tQ%40mail.gmail.com.

Reply via email to