Workspace

Constructors

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

Members

Functions

actionSetEnabled
void actionSetEnabled(string actionName, bool enabled)
getId
string getId()
getWorkbench
panel.workbench.Workbench getWorkbench()

Gets the #PanelWorkbench self is a part of.

inhibit
panel.inhibitor.Inhibitor inhibit(gtk.types.ApplicationInhibitFlags flags, string reason)

Inhibits one or more particular actions in the session.

self
Workspace self()

Returns this, for use in with statements.

setId
void setId(string id)

Properties

gType
GType gType [@property getter]

Static functions

findFromWidget
panel.workspace.Workspace findFromWidget(gtk.widget.Widget widget)

Finds the workspace that contains widget.

getGType
GType getGType()

Inherited Members

From ApplicationWindow

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

Returns this, for use in with statements.

addBreakpoint
void addBreakpoint(adw.breakpoint.Breakpoint breakpoint)

Adds breakpoint to self.

getContent
gtk.widget.Widget getContent()

Gets the content widget of self.

getCurrentBreakpoint
adw.breakpoint.Breakpoint getCurrentBreakpoint()

Gets the current breakpoint.

getDialogs
gio.list_model.ListModel getDialogs()

Returns a gio.list_model.ListModel that contains the open dialogs of self.

getVisibleDialog
adw.dialog.Dialog getVisibleDialog()

Returns the currently visible dialog in self, if there's one.

setContent
void setContent(gtk.widget.Widget content)

Sets the content widget of self.