1 CAPI Reference Entries
choice-selected-itemsreturns the currently selected items in a choice as a list of the items.
choice-selected-itemsreturns the currently selected items in a choice as a list of the items. A
setfmethod is provided as a means of setting the currently selected items. In the case of
single-selectionchoices, it is usually easier to use the complementary function
choice-selected-item, which returns the selected item as its result.
choice-selected-itemsreturned a single item for
single-selectionlist panels but this was considered to cause problems and so it was changed to always return a list, and the alternative function
choice-selected-itemwas provided for single selection panes.
(setq list (capi:contain (make-instance capi:list-panel :items '(a b c d e) :interaction :multiple-selection :selection '(1 3))))
(setf (capi:choice-selected-items list) '(a c e)) (capi:choice-selected-items list)
Generated with Harlequin WebMaker