Class | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## widget-window

The class of all windows that implement dialog-items (also known as widgets or controls). The subclasses of this class are `os-widget-window` (for widgets that are provided by the underlying window system or operating system) and `lisp-widget-window` (for widgets that are implemented from scratch within Lisp). This class is not instantiable.

To create a widget, an application calls make-instance on a `dialog-item` class. When the dialog-item is added to a parent window (with add-component or with the `:dialog-items` argument to make-window), then an instance of the associated `widget-window` class is automatically created to implement the visible window of the widget. Calling the function window on the dialog-item will then return its associated widget-window. A widget-device method tells the `dialog-item` class which `widget-window` class to instantiate.

In releases prior to 7.0, the symbol `widget-window` named the class which is now called `os-widget-window`.

A diagram of window and widget classes is shown in Widget and window classes in cgide.htm.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version