get_number


Description:

[ CCode ( cname = "xfw_workspace_get_number" ) ]
public uint get_number ()

Fetches the ordinal number of this workspace.

The number can be used to order workspaces in a UI representation.

On X11, this number should be stable across runs of your application.

On Wayland, this number depends on the order in which the compositor advertises the workspaces. This order may be stable, but may not be.

Parameters:

this

an Workspace.

Returns:

a non-negative, 0-indexed integer.