Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

is-child-allowed

Arguments: window

Returns true if the specified window is allowed to have child windows.

If is-child-allowed returns nil for a window foo, and a second window bar is created with the foo specified as its parent, then bar becomes an owned window of foo rather than a child window.

This feature is used by the IDE's development-main-window to force all windows created on it to be owned. In addition, the default parent of a window created in the IDE is the development-main-window. Because of these two facts, a window created in the IDE with no parent specified becomes an owned window of the IDE's invisible development-main-window.

An application could add an is-child-allowed method for a class of window that is intended to always be an owner window rather than a parent.

See About child, parent, and owner windows in cgide.htm.


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

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