getGeometry

open fun getGeometry(geometry: Rectangle)

Retrieves the size and position of the monitor within the display coordinate space.

The returned geometry is in ”application pixels”, not in ”device pixels” (see method@Gdk.Monitor.get_scale).

Parameters

geometry

a GdkRectangle to be filled with the monitor geometry