Method

GdkScreenget_monitor_at_point

deprecated: 3.22 since: 2.2

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

Type: gint

The x coordinate in the virtual screen.

y

Type: gint

The y coordinate in the virtual screen.

Return value

Type: gint

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.