get_monitor_at_window


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" , since = "2.2" ) ]
public int get_monitor_at_window (Window window)

Warning: get_monitor_at_window is deprecated since 3.22.

Returns the number of the monitor in which the largest area of the bounding rectangle of window resides.

Note:

Use get_monitor_at_window instead

Parameters:

this

a Screen.

window

a Window

Returns:

the monitor number in which most of window is located, or if window does not intersect any monitors, a monitor, close to window.




2022 vala-language.org