Phoc.WorkspaceManager
Description: Reference for Phoc.WorkspaceManager

### Class

# PhocWorkspaceManager

#### Description [src]

    final class Phoc.WorkspaceManager : GObject.Object
    {
      /* No available fields */
    }

Manages the workspaces layout. Adds and removes new workspaces.

#### Hierarchy

#### Ancestors

- GObject

#### Constructors

###### phoc_workspace_manager_new

No description available.

#### Instance methods

###### phoc_workspace_manager_get_active

Get currently active workspace.

###### phoc_workspace_manager_get_active_index

No description available.

###### phoc_workspace_manager_get_by_index

Get the workspace at the given index.

###### phoc_workspace_manager_get_n_workspaces

No description available.

###### phoc_workspace_manager_set_active

No description available.

###### phoc_workspace_manager_set_active_by_index

Activate the workspace with the given index. If `focus` is `TRUE` the last focused view on that surface will be focused, otherwise focus remains unchanged.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Phoc.WorkspaceManager:active

No description available.

###### Phoc.WorkspaceManager:n-workspaces

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct PhocWorkspaceManagerClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.