set_fullscreen_mode


Description:

[ Version ( since = "3.8" ) ]
public void set_fullscreen_mode (FullscreenMode mode)

Specifies whether the this should span over all monitors (in a multi-head setup) or only the current monitor when in fullscreen mode.

The mode argument is from the FullscreenMode enumeration. If ALL_MONITORS is specified, the fullscreen this will span over all monitors from the Screen.

On X11, searches through the list of monitors from the Screen the ones which delimit the 4 edges of the entire Screen and will ask the window manager to span the this over these monitors.

If the XINERAMA extension is not available or not usable, this function has no effect.

Not all window managers support this, so you can’t rely on the fullscreen window to span over the multiple monitors when ALL_MONITORS is specified.

Parameters:

this

a toplevel Window

mode

fullscreen mode