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

## screen

The class of screen objects. There is only a single screen instance, which is automatically created when Common Graphics is initialized with initialize-cg. (A possible future enhancement would support multiple monitors, each of which would have its own screen.)

The screen object is returned by the expression `(screen *system*)` (see screen and `*system*`). This object will be returned by parent when called on a top-level window, and by owner when called on a non-owned top-level window.

Drawing may be done on the screen as it is done on a window, though the drawing code must be wrapped in a with-device-context form. Care should be taken not to draw on other applications, which this allows.

This class was named windows-screen-device in releases prior to 7.0.

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