Table of Contents

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

int

Id

The unique id of the workspace.
public Guid Id { get; }

Property Value

Guid

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

HWND

LayoutEngines

All the layout engines currently in the workspace.
public ImmutableList<ILayoutEngine> LayoutEngines { get; }

Property Value

ImmutableList<ILayoutEngine>

Name

The name of the workspace.
public string Name { get; }

Property Value

string

PreviousLayoutEngineIndex

The index of the layout engine in LayoutEngines which was previously active.
public int PreviousLayoutEngineIndex { get; }

Property Value

int

WindowPositions

Map of windows to their WindowPositions.
public ImmutableDictionary<HWND, WindowPosition> WindowPositions { get; }

Property Value

ImmutableDictionary<HWND, WindowPosition>

Methods

ToString()

Returns a string that represents the current object.
public override string ToString()

Returns

string
A string that represents the current object.