All Manuals > CAPI User Guide > 8 Modifying CAPI Windows


8.8 Closing windows

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 (Unix version) - 30 Aug 2011