Package: gdk
Accessor gdk:monitor-workarea
Lambda Listgdk:monitor-workarea (object) SyntaxArgumentsDetails The accessor for the workarea slot of the gdk:monitor class retrieves the size and position of the
"work area" on a monitor within the display coordinate space.
The returned geometry is in "application pixels", not in "device pixels". See the gdk:monitor-scale-factor function for the internal scale factor
that maps from monitor coordinates to device pixels. The work area should be considered when positioning menus and similar popups, to avoid placing them below panels, docks or other desktop components. Note that not all backends may have a concept of workarea. This function will return the monitor geometry if a workarea is not available, or does not apply. Since 3.22 | See also |
#2025-08-31