Phoc.Workspace
Description: Reference for Phoc.Workspace

### Class

# PhocWorkspace

#### Description [src]

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

A workspace groups a set of `PhocView`s on an output layout.

#### Hierarchy

#### Ancestors

- GObject

#### Constructors

###### phoc_workspace_new

No description available.

#### Instance methods

###### phoc_workspace_cycle

Cycles and re-arranges the current workspace views for focusing. Depending on `forward` it cycles either forward or backward.

###### phoc_workspace_for_each_view

Invokes `view_iter` on all views passing in `user_data`.

###### phoc_workspace_get_unmanaged

Get the current unmanaged surfaces in render order. Don’t manipulate the queue directly. This is only meant for reading.

###### phoc_workspace_get_view_by_index

Gets the view at the given position in the queue. If the view is not part of that workspace `NULL` is returned.

###### phoc_workspace_get_views

Get the current views in render order. Don’t manipulate the queue directly. This is only meant for reading.

###### phoc_workspace_has_unmanaged

Checks if the given unmanaged surface is part of this workspace.

###### phoc_workspace_has_view

Checks if the given view is part of this workspace.

###### phoc_workspace_has_views

Check whether the workspace has any views.

###### phoc_workspace_insert_unmanaged

Insert the unmanaged surface into the queue of unmanageds. New unmanageds are inserted at the front so they appear on top of other unmanaged surfaces.

###### phoc_workspace_insert_view

Insert the view into the queue of views. New views are inserted at the front so they appear on top of other views.

###### phoc_workspace_move_view_to_top

Move the given view to the front of the view stack meaning that it will be rendered on top of other views (but below always-on-top views if `view` isn’t a `always-on-top` view itself).

###### phoc_workspace_remove_unmanaged

Removes a unmanaged surface from the queue of unmanaged surfaces..

###### phoc_workspace_remove_view

Removes a view from the queue of views.

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

Please see GObject for a full list of methods.

#### 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 PhocWorkspaceClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.