Screen.getMonitorGeometry

Retrieves the GdkRectangle representing the size and position of the individual monitor within the entire screen area. Note that the size of the entire screen area can be retrieved via gdk_screen_get_width() and gdk_screen_get_height(). Since 2.2

class Screen
void
getMonitorGeometry

Parameters

monitorNum int

the monitor number, between 0 and gdk_screen_get_n_monitors (screen)

dest Rectangle

a GdkRectangle to be filled with the monitor geometry

Meta