user-close

Generic Function

Package: common-graphics

Arguments: stream

This function is called when a user of a program makes a closing gesture. Returns true if closing was successful, nil if not (for example if the user canceled the action).

An application can add user-close methods that consider whether to grant the user's request to close the window, perhaps by popping up a confirmation dialog. If it is decided that the window should in fact be closed, then the user-close method should call the function close to actually close it.

See also device-close, which is also called when a window is closed, even programmatically.

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.