Method

GdkDisplayget_monitor_at_point

since: 3.22

Declaration [src]

GdkMonitor*
gdk_display_get_monitor_at_point (
  GdkDisplay* display,
  int x,
  int y
)

Description [src]

Gets the monitor in which the point (x, y) is located, or a nearby monitor if the point is not in any monitor.

Available since: 3.22

Parameters

x

Type: int

The x coordinate of the point.

y

Type: int

The y coordinate of the point.

Return value

Type: GdkMonitor

The monitor containing the point.

The returned data is owned by the instance.