Window.fullscreenOnMonitor

Moves the window into fullscreen mode on the given monitor. This means the window covers the entire screen and is above any panels or task bars.

If the window was already fullscreen, then this function does nothing.

class Window
void
fullscreenOnMonitor
()

Parameters

monitor int

Which monitor to display fullscreen on.