1 CAPI Reference Entries

exit-confirmer

Function

Summary

Theexit-confirmer function is called by the OK button on a dialog created with popup-confirmer.

Syntax

exit-confirmer &rest dummy-args

Description

This is the function that is called by the OK button on a dialog created usingpopup-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.

Example

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

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

Example File

capi/tools/pathname-selector.lisp

See Also

popup-confirmer
display-dialog
interface


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker