function is called by the
button on a dialog created with popup-confirmer.
This is the function that 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.
This example demonstrates the use of
to make the dialog exit when pressing
in the text input pane. It also demonstrates the use of
as a means of deciding the return value from