windowp

Generic Function

Package: common-graphics

Arguments: x

Returns true if the argument is an instance of the class window and that window is still open (has not been closed). In releases prior to 6.0, window objects changed class when they were closed, so any instance of window was automatically open. In release 6.0, window objects do not change class when closed. The change in the behavior of windowp thus preserves the pre-6.0 behavior.

windowp also checks that the process that created the window is still in the *all-processes* list, and returns true only if it is. (If a thread where a window is created is destroyed, the window object may still look open even though it is closed for all intents and purposes.)

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.