| superclass(es) | object |
| subclass(es) | - |
| description | The screen class describes the interface of the screen instance. There is always a single instance called 'screen'. |
| attributes | None. |
| remarks | It is not possible to create an instance of the screen class and it is not necessary because there is always an instance, called 'screen', present. This static instance is defined in the module win.txt. |
| With the screen instance it is possible to get information about the screen, like the resolution, the number of pixels per inch and which window has the focus. |
| func | Get the horizontal size of the screen in pixels. |
| pre | TRUE. |
| post | The number of pixels in the horizontal direction was assigned to Output. |
| func | Get the vertical size of the screen in pixels. |
| pre | TRUE. |
| post | The number of pixels in the vertical direction was assigned to Output. |
| func | Get the number of pixels per inch in the horizontal direction of the screen. |
| pre | TRUE. |
| post | The number of pixels per inch in the horizontal direction was assigned to Output. |
| func | Get the number of pixels per inch in the vertical direction of the screen. |
| pre | TRUE. |
| post | The number of pixels per inch in the vertical direction was assigned to Output. |
| func | Get the current focused window. |
| pre | TRUE. |
| post | The prolog instance associated with the current focused window was assigned to Output, if there was no current focused window or if no prolog instance was associated with it then no value was assigned to Output. |