get_current_desktop


Description:

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

Warning: get_current_desktop is deprecated since 4.18.

Returns the current workspace 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 current workspace, or 0 if workspaces are not supported