calc_workspace_layout


Description:

[ Version ( deprecated = true , deprecated_since = "2.20" , since = "2.12" ) ]
public void calc_workspace_layout (int num_workspaces, int space_index, WorkspaceLayout layout)

Warning: calc_workspace_layout is deprecated since 2.20.

Calculates the layout of Workspace, with additional information like the row and column of the Workspace with index space_index.

Parameters:

this

a Screen.

num_workspaces

the number of Workspace on this, or -1 to let calc_workspace_layout find this number.

space_index

the index of a Workspace.

layout

return location for the layout of Workspace with additional information.