1 CAPI Reference Entries
prompt-with-list
function prompts the user to make a choice from a list. By default the choice is a list panel.
prompt-with-list items message &key choice-class interaction value-function pane-args popup-args
popup-confirmer
. Arguments can be passed to themake-instance
of the pane and the call topopup-confirmer
using pane-args and popup-args respectively.
(capi:prompt-with-list '(1 2 3 4 5) "Select an item:")(capi:prompt-with-list '(1 2 3 4 5) "Select some items:" :interaction :multiple-selection)
(capi:prompt-with-list '(1 2 3 4 5) "Select an item:" :choice-class 'capi:button-panel)
(capi:prompt-with-list '(1 2 3 4 5) "Select an item:" :interaction :multiple-selection :choice-class 'capi:button-panel)
(capi:prompt-with-list '(1 2 3 4 5) "Select an item:" :interaction :multiple-selection :choice-class 'capi:button-panel :pane-args '(:layout-class capi:column-layout))
popup-confirmer
list-panel
choice
Generated with Harlequin WebMaker