X11.screenGetMonitorOutput

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. Since 2.14

class X11
static
uint
screenGetMonitorOutput

Parameters

screen GdkScreen*

a GdkScreen

monitorNum int

number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)

Return Value

Type: uint

the XID of the monitor

Meta