Re: [CAPI] enabling / disabling layouts

"Erik Ronström (as erik dot ronstrom at doremir dot com)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
> LAYOUT-DESCRIPTION is an interesting clue, but unfortunately it
> seems that recursively traversing a layout is too complicated.

What about map-pane-children / map-pane-descendant-children ?

> SIMPLE-PANE-ENABLED doesn't work on all layout description object (e.g. PANE-GEOMETRY, whatever that is).

You can walk through all panes with map-pane-descendant-children and check (typep pane 'capi:simple-pane) before setting simple-pane-enabled. Would that work for you?

> So I ended up keeping a list of sub-panes that need enabling / disabling.

That is what I also tend to do in the end :)

Erik




_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.