1 CAPI Reference Entries

screen

Class

Summary

Ascreen is an object that represents each of the known monitor screens.

Superclasses

capi-object

Subclasses

color-screen
mono-screen

Slots

width
The width in pixels of the screen.

height
The height in pixels of the screen.

number
The screen number.

depth
The number of color planes in the screen.

interfaces
A list of all of the interfaces visible on the screen.

Readers

screen-width
screen-height
screen-number
screen-depth
screen-interfaces
screen-width-in-millimeters
screen-height-in-millimeters

Description

When the CAPI initializes itself it creates one screen object per monitor screen, and they are then used to specify where a window is to appear. They can also be queried for information that the program may need to know about the screen that it is working on, such as its width, height and depth.

Example

(setq screen (capi:convert-to-screen))

(capi:screen-width screen)

(capi:screen-height screen)

(capi:display (make-instance 'capi:interface :title "Test") :screen screen)

(capi:screen-interfaces screen)

See Also

convert-to-screen


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker