MonitorG.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 gdk.monitor.MonitorG.getScale).

class MonitorG
void
getGeometry

Parameters

geometry gdk.rectangle.Rectangle

a gtk.types.Rectangle to be filled with the monitor geometry