Expand description
Whether app windows fill a screen. On macOS a zoomed window (a double click on its title bar) leaves the menu bar and the Dock showing, so the wallpaper’s window never reports itself hidden: the Mac host also asks where the other apps’ windows are and treats a screen whose usable area they all but fill (one zoomed window, or tiles side by side) as covered.
Structs§
- Rect
- A rectangle in one coordinate system (the Mac host: points, top-left origin, as the window server gives window bounds).
- Watch
- A menu bar’s backing from one look at the windows to the next. It changes as a window reaches the menu bar or starts to leave it (the window server tells where a window is all through its minimizing), not once it is still.
Enums§
- Backing
- What goes behind a screen’s menu bar.
Constants§
- ALMOST_
FILLED - From this share covered, the menu bar above the windows is made solid: an almost maximized window too, with some desktop around it.
- CORNERS
- How far below the menu bar a window’s rounded corners reach, in points.
- FILLED
- From this share of a screen’s usable area covered, the screen counts as covered: a zoomed or maximized window, or windows tiled side by side (with the small gaps tiling leaves).
- REST
- How long windows that don’t reach the menu bar must hold still before it turns solid above them.
Functions§
- backing
- The backing for windows so, at rest, on a screen whose usable part is
area. - covered_
share - The share of
areathe windows cover together, sampled on a grid. - filled
- Whether the windows all but fill
area.