Gdk.Screen.GetMonitorAtPoint Method
Gets the monitor number where the point is located.

Syntax

public int GetMonitorAtPoint (int x, int y)

Parameters

x
A int representing the x coordinate on the virtual screen.
y
A int representing the y coordinate on the virtual screen.

Returns

A int indicating the monitor where the point is located.

Remarks

If the point isn't in any monitor, then the nearest monitor is returned.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)