Screen.getMonitorGeometry
void getMonitorGeometry(int monitorNum, out gdk.rectangle.Rectangle dest)Retrieves the #GdkRectangle representing the size and position of the individual monitor within the entire screen area. The returned geometry is in ”application pixels”, not in ”device pixels” (see [gdk.screen.Screen.getMonitorScaleFactor]).
Monitor numbers start at 0. To obtain the number of monitors of screen, use [gdk.screen.Screen.getNMonitors].
Note that the size of the entire screen area can be retrieved via [gdk.screen.Screen.getWidth] and [gdk.screen.Screen.getHeight].
Parameters
monitorNum | the monitor number |
dest | a #GdkRectangle to be filled with the monitor geometry |
Deprecated
Use [gdk.monitor.MonitorWrap.getGeometry] instead