Class | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version