GdkX11.X11Screen.prototype.get_monitor_output
function get_monitor_output(monitor_num: Number(gint)): xlib.XID {
// Gjs wrapper for gdk_x11_screen_get_monitor_output()
}
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
- monitor_num
number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)
- Returns
the XID of the monitor