Workbench

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Members

Functions

actionSetEnabled
void actionSetEnabled(string actionName, bool enabled)
activate
void activate()
addWorkspace
void addWorkspace(panel.workspace.Workspace workspace)
connectActivate
ulong connectActivate(T callback, Flag!"After" after)

Connect to Activate signal.

findWorkspaceTyped
panel.workspace.Workspace findWorkspaceTyped(gobject.types.GType workspaceType)

Locates a workspace in self with a type matching type.

focusWorkspace
void focusWorkspace(panel.workspace.Workspace workspace)
foreachWorkspace
void foreachWorkspace(panel.types.WorkspaceForeach foreachFunc)

Calls foreach_func for each workspace in the workbench.

getId
string getId()
removeWorkspace
void removeWorkspace(panel.workspace.Workspace workspace)
self
Workbench self()

Returns this, for use in with statements.

setId
void setId(string id)

Properties

gType
GType gType [@property getter]

Static functions

findFromWidget
panel.workbench.Workbench findFromWidget(gtk.widget.Widget widget)

Finds the workbench that contains widget.

getGType
GType getGType()

Inherited Members

From WindowGroup

getGType
GType getGType()
gType
GType gType [@property getter]
self
WindowGroup self()

Returns this, for use in with statements.

addWindow
void addWindow(gtk.window.Window window)

Adds a window to a gtk.window_group.WindowGroup.

listWindows
gtk.window.Window[] listWindows()

Returns a list of the GtkWindows that belong to window_group.

removeWindow
void removeWindow(gtk.window.Window window)

Removes a window from a gtk.window_group.WindowGroup.