Method

GdkScreenget_monitor_at_point

Declaration [src]

gint
gdk_screen_get_monitor_at_point (
  GdkScreen* screen,
  gint x,
  gint y
)

Description [src]

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

Available since:2.2
Deprecated since:3.22

Use gdk_display_get_monitor_at_point() instead.

Parameters

x gint
 

The x coordinate in the virtual screen.

y gint
 

The y coordinate in the virtual screen.

Return value

Returns: 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.