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

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