Screen.getMonitorAtPoint

Returns the monitor number in which the point (@x,@y) is located.

More...
class Screen
int
getMonitorAtPoint
(
int x
,
int y
)

Parameters

x int

the x coordinate in the virtual screen.

y int

the y coordinate in the virtual screen.

Return Value

Type: int

the monitor number in which the point (@x,@y) lies, or a monitor close to (@x,@y) if the point is not in any monitor.

Detailed Description

Deprecated: Use gdk_display_get_monitor_at_point() instead

Meta