get_monitor_output


Description:

[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public ID get_monitor_output (int monitor_num)

Warning: get_monitor_output is deprecated since 4.18.

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 `GdkX11Screen`

monitor_num

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

Returns:

the XID of the monitor