Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

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.

GTK Note

You cannot change the parent of a window from a window to the screen or vice versa. Attempting to do so will simply invoke the *gtk-compatibility-warning-action*. You may only change the parent from one window to another window.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version