get_monitor_geometry


Description:

public void get_monitor_geometry (int monitor_num, out Rectangle dest)

Retrieves the Rectangle representing the size and position of the individual monitor within the entire screen area.

Note:

Use gdk_monitor_get_geometry instead

The returned geometry is in ”application pixels”, not in ”device pixels” (see gdk_screen_get_monitor_scale_factor).

Monitor numbers start at 0. To obtain the number of monitors of this, use get_n_monitors.

Note that the size of the entire screen area can be retrieved via get_width and get_height.

Parameters:

this

a Screen

monitor_num

the monitor number

dest

a Rectangle to be filled with the monitor geometry