on-exit in top-level-window<%>

Called for each visible top-level window when the operating system requests that all programs shut down. For each top-level window, this method is called only if the frame's can-exit? method returns true.