Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## os-exit-request

Arguments: top-level-window

This generic function will be called when the operating system is shutting down or logging off the current user. It should return true to allow the shutdown, or `nil` to cancel the shutdown and leave the Common Graphics application running. The default method returns `t` (though in the IDE a method returns `nil` if the query-os-exit configuration option is turned on and the user replies No to an exit confirmation dialog).

A Common Graphics application has no reason to call this function, but it could add a method to it that may decide to return `nil` to cancel a shutdown.

To disallow exiting an individual Common Graphics application (rather than the entire operating system), see user-close.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version