panel.workbench
Module for [Workbench] class
Types 3
Methods
WorkbenchGidBuilder builder() static nothrowGet builder for [panel.workbench.Workbench] Returns: New builder objectvoid id(string propval) @property nothrowSet `id` property. Params: propval = The "id" of the workbench.panel.workbench.Workbench findFromWidget(gtk.widget.Widget widget) static nothrowFinds the workbench that contains widget.void actionSetEnabled(string actionName, bool enabled) nothrowvoid activate() nothrowvoid addWorkspace(panel.workspace.Workspace workspace) nothrowpanel.workspace.Workspace findWorkspaceTyped(gobject.types.GType workspaceType) nothrowLocates a workspace in self with a type matching type.void focusWorkspace(panel.workspace.Workspace workspace) nothrowvoid foreachWorkspace(panel.types.WorkspaceForeach foreachFunc) nothrowCalls foreach_func for each workspace in the workbench.string getId() nothrowvoid removeWorkspace(panel.workspace.Workspace workspace) nothrowvoid setId(string id) nothrowgulong connectActivate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : panel.workbench.Workbench)))
&& Parameters!T.length < 2) nothrowConnect to `Activate` signal.Fluent builder implementation template for panel.workbench.Workbench
Methods
Fluent builder for panel.workbench.Workbench