get_monitor_at_point


Description:

[ Version ( since = "3.22" ) ]
public unowned Monitor get_monitor_at_point (int x, int y)

Gets the monitor in which the point (x, y) is located, or a nearby monitor if the point is not in any monitor.

Parameters:

this

a Display

x

the x coordinate of the point

y

the y coordinate of the point

Returns:

the monitor containing the point