Method

GdkDisplayget_monitor

since: 3.22

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

Type: int

Number of the monitor.

Return value

Type: GdkMonitor

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

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