Class
AstalWorkspaceWorkspaceGroup
Description
class AstalWorkspace.WorkspaceGroup : GObject.Object
implements Gio.ListModel {
/* No available fields */
}
A group of workspaces, belonging to some set of outputs (monitors). A workspace can be in multiple groups, and a group can be on multiple outputs (monitors) at once. Most of the time you don’t need to worry about groups directly; if you just want the workspaces on a specific monitor, use a MonitorView object. As a ListModel, it exposes every workspace belonging to the group; lists of outputs and workspaces are also available through properties.
Instance methods
astal_workspace_workspace_group_create_workspace
Ask the compositor to create a workspace with the specified name in this group. This does nothing if the group doesn’t have the CREATE_WORKSPACE capability.
Methods inherited from GListModel (5)
g_list_model_get_item
Get the item at position.
g_list_model_get_item_type
Gets the type of the items in list.
g_list_model_get_n_items
Gets the number of items in list.
g_list_model_get_object
Get the item at position.
g_list_model_items_changed
Emits the GListModel::items-changed signal on list.
Properties
AstalWorkspace.WorkspaceGroup:capabilities
The group’s current capabilities (i.e. can you create workspaces in it). Note that a group’s capabilities can change over 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.
Signals inherited from GListModel (1)
GListModel::items-changed
This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added
items were added in their place.