Display.getNMonitors

Gets the number of monitors that belong to display.

The returned number is valid until the next emission of the monitor-added or monitor-removed signal.

class Display
int
getNMonitors
()

Return Value

Type: int

the number of monitors

Meta

Since

3.22