hi!<br><br>i've made the following refactoring to container.lisp:<br><br>Sat Mar 18 14:39:45 CET 2006 <a href="mailto:attila.lendvai@gmail.com">attila.lendvai@gmail.com</a><br> * Refactored container.lisp<br><br> Renamed simple-container to switching-container, clearly separated the base
<br> container class functionality from the new switching container. After the<br> refactor it is easier to use switching-container with dynamically<br> generated content and in situations where the old 'label' property have
<br> no useful meaning (e.g. dinamically built tab pane). By default the new 'key'<br> property is the component itself.<br><br> User API changes (exported symbols):<br> - simple-container -> switching-container<br>
- container.label-test -> container.key-test (also the initarg)<br> - container.current-component-name -> container.current-component-key (also the initarg)<br><br> Generally 'label' has been renamed to 'key' in container, and switching-container
<br> implementation is based on the component accessing functionality provided by container.<br><br>i haven't uploaded it yet to the public repo, because i want to polish it a bit more. i've got two questions:<br>- Marco, do you generally like this idea?
<br>- should i change the container's underlying alist into a hashtable? this may not be really important, because as a GUI component it will probably have less then 30 contained components, but when this assuption breaks then an alist does not scale too well.
<br><br>but now back to the code,<br><br>- attila<br><br>(alias 101 on irc &no 'its not lisp code :)