ClassPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

basic-pane

The class of all windows (excluding menus, which are not usually regarded as windows). A basic-pane instance by default appears on the screen as a simple rectangular blank area with no border or title-bar, but may have any of the standard window attributes by specifying them explicitly when calling make-window.

Windows are Common Lisp streams, and so various standard stream functions may be applied to them. For example, stream output functions such as print and format will draw text on a window, and a window is closed by calling close on it. (See also user-close.) The device-open generic function may be extended with custom methods that do additional setup when a window is created. The function windowp will return true if its argument is a window and it is currently open.

This class is suitable to use as the superclass of custom application window classes when it is desirable to start with the simplest type of window, adding particular default attributes as needed. For windows that have borders and title-bars, it may be simpler to instead subclass frame-window. If backing-store is desired, instead use a bitmap-pane or bitmap-window. If controls are to be added to the window, a dialog is recommended.

A diagram of window and widget classes is shown in Widget and window classes 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