Workspace ManagerconceptAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

LibTmux.Workspace.WorkspaceWindow

class LibTmux.Workspace.WorkspaceWindow

Describes one window in a supported tmuxp workspace.

Guides

task material

Pages that discuss WorkspaceWindow.

Properties11

WorkspaceWindow properties
NameTypeDescription
Environment IReadOnlyDictionary<string, string> Gets the environment entries contributed by this declaration.
ShellCommandsBefore IReadOnlyList<string> Gets the commands prepended at this declaration level.
BeforeCommands IReadOnlyList<WorkspaceCommand> Gets the typed commands prepended at this declaration level.
WindowName string? Gets the window name.
WindowIndex int? Gets the requested session-relative window index, or null for the next free index.
StartDirectory string? Gets the directory its panes start in.
Layout string? Gets the layout to apply after creating its panes.
Focus bool Gets whether the window is left selected.
Options IReadOnlyDictionary<string, string> Gets the window options to set before pane commands and splits.
OptionsAfter IReadOnlyDictionary<string, string> Gets the window options to set after pane commands and the final layout.
Panes IReadOnlyList<WorkspacePane> Gets the panes to create, in order.

Other members2 members

  • WorkspaceWindow Initializes a window description.
  • WithDefaults Returns a declaration with replacement environment and pre-command defaults.
Esc
Search in

Type to search.

Reference previewOpen reference