Method

GdkX11X11Screenget_monitor_output

since: 2.14

Declaration [src]

XID
gdk_x11_screen_get_monitor_output (
  GdkScreen* screen,
  gint monitor_num
)

Description [src]

Gets the XID of the specified output/monitor. If the X server does not support version 1.2 of the RANDR extension, 0 is returned.

Available since: 2.14

Parameters

monitor_num

Type: gint

Number of the monitor, between 0 and gdk_screen_get_n_monitors (screen).

Return value

Type: XID

The XID of the monitor.