Gdk.Screen.GetMonitorAtWindow Method
Gets the monitor that contains most of the given window.

Syntax

public int GetMonitorAtWindow (Window window)

Parameters

window
A Gdk.Window whose main monitor is claimed.

Returns

A int indicating the required monitor.

Remarks

If the window does not intersect any of the monitors, then the a close one is returned.

Requirements

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