Generic FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

parent

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.)

In releases prior to 6.0, this function 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.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1