[mcclim-devel] Changing items list in list-pane/option-pane
Is there a portable way of changing the list of items in a list-pane or option-pane after it has been created? I mean after it has given an initial value via the :items initarg. Paolo -- Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log
| Is there a portable way of changing the list of items in a list-pane | or option-pane after it has been created? I mean after it has given | an initial value via the :items initarg. (setf (gadget-value list-object) new-list) should work. Paul
"Paul Werkowski" <pw@snoopy.mv.com> writes:
| Is there a portable way of changing the list of items in a list-pane | or option-pane after it has been created? I mean after it has given | an initial value via the :items initarg.
(setf (gadget-value list-object) new-list) should work.
Doesn't this change only the selected item? Paolo -- Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log
| > | > (setf (gadget-value list-object) new-list) should work. | | Doesn't this change only the selected item? Oops, yes. Sorry for not checking first :( Paul
I don't think there's a portable way to do this. Looking through the Franz guide, it doesn't seem like they have a way to do this at all. I guess we should add this to the TODO list. Also, relating to what Paul Werkowski suggests, I don't think (setf (gadget-value ...) ...) works right in our current implementation - the slot value may change, but the graphic display won't be updated, and strange things may happen relating to multiple selection. Another TODO. On 7/27/05, Paolo Amoroso <amoroso@mclink.it> wrote:
Is there a portable way of changing the list of items in a list-pane or option-pane after it has been created? I mean after it has given an initial value via the :items initarg.
Would you mind adding these to Paolo's bug list? Might be handy to have them lying around in case someone has a few spare hacking cycles... R
participants (4)
-
Andy Hefner
-
Paolo Amoroso
-
Paul Werkowski
-
Robert P. Goldman