Class

AstalWorkspaceWorkspace

Description

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

No description available.

Ancestors

Instance methods

astal_workspace_workspace_activate

Ask the compositor to activate the workspace. This does nothing if the workspace doesn’t have the ACTIVATE capability.

astal_workspace_workspace_deactivate

Ask the compositor to deactivate the workspace. This does nothing if the workspace doesn’t have the DEACTIVATE capability.

astal_workspace_workspace_assign_to_group

Ask the compositor to assign the workspace to a group. This does nothing if the workspace doesn’t have the ASSIGN capability.

astal_workspace_workspace_remove

Ask the compositor to remove the workspace. This does nothing if the workspace doesn’t have the REMOVE capability.

astal_workspace_workspace_get_id
No description available.

astal_workspace_workspace_get_name
No description available.

astal_workspace_workspace_get_coordinates
No description available.

astal_workspace_workspace_get_state
No description available.

astal_workspace_workspace_get_capabilities
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalWorkspace.Workspace:id

The workspace’s ID. This is not required to be set by the compositor, but if it is set, it will not change during the workspace’s lifetime, and will be unique during its lifetime. IDs are not human-readable and shouldn’t be displayed, they’re for identifying workspaces across sessions.

AstalWorkspace.Workspace:name

The workspace’s human-readable name. It is not guaranteed to be unique, and can change during the workspace’s lifetime.

AstalWorkspace.Workspace:coordinates

The workspace’s coordinates. Compositors which arrange workspaces geometrically will use this property to describe where the workspace is in space; other compositors may use the workspace’s number or leave it as null.

AstalWorkspace.Workspace:state

The workspace’s current state.

AstalWorkspace.Workspace:capabilities

The workspace’s current capabilities. These directly correspond to methods on this object. Note that a workspace’s capabilities can change during its lifetime.

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 AstalWorkspaceWorkspaceClass {
  /* no available fields */
}

No description available.