Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

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