MonitorGdk.getGeometry

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_factor]).

class MonitorGdk
void
getGeometry

Parameters

geometry GdkRectangle

a GdkRectangle to be filled with the monitor geometry

Meta