X11.screenGetNumberOfDesktops

Returns the number of workspaces for screen when running under a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints.

class X11
static
uint
screenGetNumberOfDesktops

Parameters

screen Screen

a GdkScreen

Return Value

Type: uint

the number of workspaces, or 0 if workspaces are not supported Since 3.10

Meta