query-end-windows-session

Generic Function

Package: common-graphics

Arguments: window

If the end user tries to shut down the operating system while Allegro is running, this generic function is called. If it returns true, then the OS proceeds to shut down. If it returns nil, then the shutdown is aborted.

Window must be a top-level window of the application.

The default method in the development environment pops up a confirmation dialog. The default method in a standalone application simply returns t. An application could supply a method here to implement its own confirmation procedure.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.