Display.getMonitorAtPoint

gdk.monitor.MonitorWrap getMonitorAtPoint(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

xthe x coordinate of the point
ythe y coordinate of the point

Returns

the monitor containing the point