Re: Calling specific method
"Erik Ronström (as erik dot ronstrom at doremir dot com)" <[email protected]> Fri, 17 Apr 2026 18:23:50 +0200
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
> 'Your scientists were so preoccupied with whether or not they could, > they didn't stop to think if they should' as someone once said. I'm open to suggestions! My problem is that I don't have access to the source code of a and b. Specifically, what I want to do is override the behavior of capi:map-pane-descendant-children for my custom widget, so that it doesn't descend into the child panes of my widget (but rather treats it as a leaf in the tree). Since I don't know how capi:map-pane-descendant-children operates, I thought I could call the method for capi::simple-element, which already does what I want. (If I knew how capi:map-pane-descendant-children handles :leaf-only, that would be helpful, but unfortunately I don't know how it determines if a node (pane) is a leaf or a container) Erik