All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

exit-confirmer Function

Summary

Called by the OK button on a dialog created with popup-confirmer.

Package

capi

Signature

exit-confirmer &rest dummy-args

Arguments
dummy-args
Ignored.
Description

The function exit-confirmer is called by the OK button on a dialog created using popup-confirmer, and it is provided as an entry point so that other callbacks can behave in the same way. There is a full description of the OK button in popup-confirmer.

All of the arguments in dummy-args are ignored.

Examples

This example demonstrates the use of exit-confirmer to make the dialog exit when pressing Return in the text input pane. It also demonstrates the use of value-function as a means of deciding the return value from popup-confirmer.

(capi:popup-confirmer (make-instance
                       'capi:text-input-pane
                       :callback 'capi:exit-confirmer)
                      "Enter some text:"
                      :value-function
                      'capi:text-input-pane-text)
See also

popup-confirmer
display-dialog
interface
10 Dialogs: Prompting for Input


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42