Package: gdk

Function gdk-screen-monitor-geometry

Lambda List

gdk-screen-monitor-geometry (screen num)

Arguments

screen -- a gdk-screen object
num -- an integer with the monitor number

Return Value

A gdk-rectangle instance filled with the monitor geometry.

Details

Retrieves the rectangle representing the size and position of the individual monitor within the entire screen area. Monitor numbers start at 0. To obtain the number of monitors of the screen, use the gdk-screen-n-monitors function.

Note that the size of the entire screen area can be retrieved via the gdk-screen-width and gdk-screen-height functions.

Warning

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

See also

2021-12-13