create_workspace


Description:

[ CCode ( cname = "xfw_workspace_group_create_workspace" ) ]
public bool create_workspace (string name) throws Error

Attempts to create a new workspace on this.

Typically, the new workspace will be appended to the existing list of workspaces.

On failure, throws (if provided) will be set to a description of the error that occurred.

Parameters:

this

an WorkspaceGroup.

name

a name for the new workspace.

Returns:

true if workspace creation succeeded, false otherwise. If false, and throws is non-null, an error will be returned that must be freed using g_error_free().