Returns the geometry of the unobscured region of a screen or document container.
capi
screen-internal-geometry screen => x, y, width, height
screen⇩ |
A screen. |
x⇩ |
An integer. |
y⇩ |
An integer. |
width⇩ |
A positive integer. |
height⇩ |
A positive integer. |
The function screen-internal-geometry
returns the geometry (as multiple values representing a screen rectangle) of the region of screen that can be used to display windows without obstruction. This region excludes "system areas" like menubar and taskbar and so on. Examples of these include the Windows taskbar, the macOS menu bar and the macOS Dock.
x and y are the screen rectangle's coordinates as offsets from the top-left of the primary monitor, and width and height are its dimensions.
On Microsoft Windows screen-internal-geometry
works with document-container, returning the current size of the container (which may vary over time).
screen-internal-geometry
changes.
document-container
pane-screen-internal-geometry
screen
screen-internal-geometries
3.13 Screens
4.3 Support for multiple monitors
11.6 Querying and modifying interface geometry
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42