Display.getMonitorAtWindow

gdk.monitor.MonitorWrap getMonitorAtWindow(gdk.window.Window window)

Gets the monitor in which the largest area of window resides, or a monitor close to window if it is outside of all monitors.

Parameters

windowa #GdkWindow

Returns

the monitor with the largest overlap with window