Constructor

GntWSnew

since: 2.1

Declaration [src]

GntWS*
gnt_ws_new (
  const char* name
)

Description [src]

Create a new workspace with the specified name.

Available since: 2.1

Parameters

name

Type: const char*

The desired name of the workspace, or NULL.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GntWS

The newly created workspace.

The caller of the function takes ownership of the data, and is responsible for freeing it.