•
killWindow
?-w win?
Close the current window, calling
preCloseHook
,
closeHook
, etc., as appropriate. If the window is dirty (has unsaved changes), the user is presented a dialog to accept the closure of the window.