Class Workspace
- Namespace
- Whim
- Assembly
- Whim.dll
Workspaces contain windows to be organized by layout engines.
public sealed record Workspace : IWorkspace, IEquatable<Workspace>
- Inheritance
-
Workspace
- Implements
- Inherited Members
- Extension Methods
Properties
ActiveLayoutEngineIndex
The index of the layout engine in LayoutEngines which is currently active.
public int ActiveLayoutEngineIndex { get; }
Property Value
Id
The unique id of the workspace.
public Guid Id { get; }
Property Value
LastFocusedWindowHandle
The index of the last focused window in the workspace.
WARNING: When the value is 0, it means that no window is focused. Check this with IsNull.
public HWND LastFocusedWindowHandle { get; }
Property Value
LayoutEngines
All the layout engines currently in the workspace.
public ImmutableList<ILayoutEngine> LayoutEngines { get; }
Property Value
Name
The name of the workspace.
public string Name { get; }
Property Value
PreviousLayoutEngineIndex
The index of the layout engine in LayoutEngines which was previously active.
public int PreviousLayoutEngineIndex { get; }
Property Value
WindowPositions
Map of windows to their WindowPositions.
public ImmutableDictionary<HWND, WindowPosition> WindowPositions { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
- A string that represents the current object.