get_number_of_desktops


Description:

[ Version ( since = "3.10" ) ]
public uint32 get_number_of_desktops ()

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

Parameters:

this

a Screen

Returns:

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