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

offset-from-selected-window

Arguments: configuration

The default default-top-left method uses this configuration option to determine the positioning of a new window when make-window is called with no argument that explicitly indicates a position for the new window.

If true (the default), then a new window is created by default with its top-left corner near the top-left corner of the window that is currently selected on the owner window (or screen) of the new window. If there is no such selected window, then the upper left corner of the owner window (or screen) is used.

If nil, then a new window is created by default with its top-left corner near the position that was most recently used as a default position for a new window (even if that window has since been moved from that position or is no longer selected). If no default window position has been used yet, then the upper left corner of the owner window (or screen) is used.

The term "near" in both cases above means shifted rightward and downward by the height of a window title-bar (see title-bar-height) plus a resizing border. This means that a sequence of windows created with default positioning will initially be positioned so that all of their title-bars are visible simultaneously.


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