Method

GdkDisplayget_monitor

Declaration [src]

GdkMonitor*
gdk_display_get_monitor (
  GdkDisplay* display,
  int monitor_num
)

Description [src]

Gets a monitor associated with this display.

Available since:3.22

Parameters

monitor_num int
 

Number of the monitor.

Return value

Returns: GdkMonitor
 

The GdkMonitor, or NULL if monitor_num is not a valid monitor number.

 The data is owned by the instance.
 The return value can be NULL.