get_number_of_desktops


Description:

[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public uint32 get_number_of_desktops ()

Warning: get_number_of_desktops is deprecated since 4.18.

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 `GdkX11Screen`

Returns:

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