
1 CAPI Reference Entries
choice-selected-item returns the currently selected item in a single selection choice.
choice-selected-item choice
choice-selected-item returns the currently selected item in a single selection choice. Asetf method is provided as a means of setting the selection. It is an error to call this function on choices with different interactions -- in that case, you should usechoice-selected-items.
(setq list (capi:contain
(make-instance 'capi:list-panel
:items '(a b c d e)
:selection 2)))
(capi:choice-selected-item list)
(setf (capi:choice-selected-item list) 'e)(capi:choice-selected-item list)
choicechoice-selected-items

Generated with Harlequin WebMaker