get_workspace


Description:

public unowned Workspace get_workspace ()

Gets the current workspace this is on.

If the window is pinned (on all workspaces), or not on any workspaces, null may be returned.

Parameters:

this

a Window.

Returns:

the single current workspace this is on, or null. The returned Workspace is owned by libwnck and must not be referenced or unreferenced.