set_layout


Description:

[ CCode ( cname = "xfw_workspace_group_set_layout" ) ]
public bool set_layout (int rows, int columns) throws Error

Sets the layout of this to rows by columns.

Note that this will not change the number of workspaces if the new layout implies a larger number of workspaces than currently exists.

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

Parameters:

this

an WorkspaceGroup.

rows

the new numbers of rows.

columns

the new number of columns.

Returns:

true if changing the layout of this succeede, false otherwise. If false, and throws is non-null, an error will be returned that must be freed using g_error_free( ).