find-or-make-pop-up-window

Generic Function

Package: common-graphics

Arguments: name make-function parent

Returns a window that is intended as a modal dialog for an application. If the window has previously been created by calling find-or-make-pop-up-window, it has not been closed, and its parent is the parent being requested here, then the existing window is returned. Otherwise make-function is called to create the window, and that new window is returned.

Name is an arbitrary symbol for identifying the window. No two windows that are made with find-or-make-pop-up-window or find-or-make-application-window should use the same name.

Make-function should be the name of a function that takes a single argument, which is parent, and which makes and returns a window whose name is name and whose parent is parent.

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.