Arguments: standard-object
Returns the parent of the argument. See also owner. And see About child, parent, and owner windows in cgide.htm.
For windows, (setf parent) may be called to change the parent
of an existing window to another window or the screen (to change to
the screen, setf the value to (screen *system)
--
see screen and
*system*
). The new parent will also
be the owner of the window, even when the new parent is the
screen. (Currently there is no way to change the owner of an owned
top-level window.)
Incompatible change in release 6.0: parent will always return the screen when called on a top-level window. In earlier releases, this function had returned the owner when the window was a pop-up window (see pop-up. The real parent of a pop-up window is always the screen regardless of what :parent initarg is passed to make-window. It may still have an owner window, however, which is the window with which the window shrinks and closes. If your code calls parent to return the owner of a pop-up window, then you will need to change it to call owner instead.
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.