Package: gdk

Function gdk-screen-monitor-at-window

Lambda List

gdk-screen-monitor-at-window (screen window)

Arguments

screen -- a gdk-screen object
window -- a gdk-window object

Return Value

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

Details

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

Warning

The gdk-screen-monitor-at-window function has been deprecated since version 3.22 and should not be used in newly written code. Use the gdk-display-monitor-at-window function instead.
 

See also

2021-12-13