Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-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