Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 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-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 9.0. This page was not revised from the 8.2 page.
Created 2012.5.30.

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