Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version