To close a CAPI interface window unconditionally, call the generic function
destroy
.
To close a CAPI interface window such that its
confirm-destroy-function
is called first to allow the user to confirm, call
quit-interface
. You must call it in the window's process, for example in the callback of a menu item.
CAPI User Guide (Macintosh version) - 30 Aug 2011