Class
AstalWorkspaceWorkspaceManager
Description
class AstalWorkspace.WorkspaceManager : GObject.Object
implements Gio.ListModel {
/* No available fields */
}
The global workspace state. As a ListModel, it exposes every workspace available; lists of workspaces and groups are also available through properties, and helper objects can be created to access workspaces on a specific monitor through the for_monitor and for_output factory methods.
Instance methods
astal_workspace_workspace_manager_for_output
Get a proxy object which filters workspaces to those that belong to a group on the specified Wayland output.
astal_workspace_workspace_manager_commit
Commit any pending workspace method calls. By default, this is done automatically; you can use freeze_autocommit() to delay
committing any changes until thaw_autocommit() is called. You can also call this while autocommits are frozen to commit manually.
astal_workspace_workspace_manager_freeze_autocommit
Temporarily suspend the automatic commit() calls after doing workspace actions. In effect, calling methods like activate()
on workspaces or create_workspace() on groups while autocommitting is frozen will make them take effect all at once upon calling thaw_autocommit().
astal_workspace_workspace_manager_thaw_autocommit
Resume the automatic commit() calls after doing workspace actions. If any autocommitting actions were taken during the freeze, they
will all be applied at once.
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.
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.