Method

GdkDisplayget_monitor_at_point

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 int
 

The x coordinate of the point.

y int
 

The y coordinate of the point.

Return value

Returns: GdkMonitor
 

The monitor containing the point.

 The data is owned by the instance.