Screen.getMonitorGeometry

Retrieves the gdk.Rectangle 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 Screen.getMonitorScaleFactor).

Monitor numbers start at 0. To obtain the number of monitors of screen, use Screen.getNMonitors.

Note that the size of the entire screen area can be retrieved via Screen.getWidth and Screen.getHeight.

More...
class Screen
void
getMonitorGeometry

Parameters

monitorNum int

the monitor number

dest GdkRectangle

a gdk.Rectangle to be filled with the monitor geometry

Detailed Description

Deprecated: Use gdk_monitor_get_geometry() instead

Meta