Screen.getNMonitors

int getNMonitors()

Returns the number of monitors which screen consists of.

Returns

number of monitors which screen consists of

Deprecated

Use [gdk.display.Display.getNMonitors] instead