prompts the user for a string and returns that string and a flag indicating that the dialog was not cancelled. The initial string can either be passed in as text using the
argument, or by passing
for that value.
. The value returned can be converted into a different value by passing a
, which by default is the identity function. This
gets passed the text that was entered into the pane, and should return both the value to return and a flag that should be non-
if the value that was entered is not acceptable. If an
is passed, then it should return non-
if the value about to be returned is acceptable.
The prompter is created by passing an appropriate pane (in this case a text input pane) to popup-confirmer. Arguments can be passed to the
of the pane and the call to popup-confirmer using
(capi:prompt-for-string "Enter a string:")