Skip to main content

Module monitor

Module monitor 

Source
Expand description

Monitor / display enumeration types.

Icon coordinates on Windows live in virtual-screen space: a single coordinate system that spans every attached monitor. The primary monitor’s top-left is (0, 0); secondary monitors can sit anywhere around it, including at negative offsets when arranged to the left of or above the primary.

To place icons intelligently on specific monitors, callers need to know where each monitor lives in that shared coordinate space — that is what MonitorInfo carries.

Populated by DesktopBackend::list_monitors.

Structs§

MonitorInfo
A single connected display in the virtual-screen coordinate system.
Rect
A pixel-space axis-aligned rectangle.