get_monitor_at_window


Description:

[ Version ( since = "3.22" ) ]
public unowned Monitor get_monitor_at_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:

this

a Display

window

a Window

Returns:

the monitor with the largest overlap with window