get_monitor_output


Description:

[ Version ( since = "2.14" ) ]
public ID get_monitor_output (int monitor_num)

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.

Parameters:

this

a Screen

monitor_num

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

Returns:

the XID of the monitor