An object that represents a known monitor screen.
capi
: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. |
screen-width
screen-height
screen-number
screen-depth
screen-interfaces
screen-width-in-millimeters
screen-height-in-millimeters
The class screen
represents the screen of a monitor.
When the CAPI initializes itself it creates one or more screen objects and they are then used to specify where a window is to appear. A screen
object 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.
On Microsoft Windows and Cocoa there is exactly one CAPI screen. When there are multiple monitors, there are several rectangles of pixels within the single CAPI screen.
On Motif, there is one CAPI screen for each X11 screen.
In LispWorks for Macintosh 4.3 there is one CAPI screen for each Cocoa screen. In LispWorks for Macintosh 4.4 and later, there is exactly one CAPI screen.
(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)
convert-to-screen
3.13 Screens
10.4 Dialog Owners
11 Defining Interface Classes - top level windows
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27