Table of Contents

Interface IWorkspace

Namespace
Whim
Assembly
Whim.dll
Workspaces contain windows to be organized by layout engines.
public interface IWorkspace
Extension Methods

Properties

ActiveLayoutEngineIndex

The index of the layout engine in LayoutEngines which is currently active.
int ActiveLayoutEngineIndex { get; }

Property Value

int

Id

The unique id of the workspace.
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.
HWND LastFocusedWindowHandle { get; }

Property Value

HWND

LayoutEngines

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

Property Value

ImmutableList<ILayoutEngine>

Name

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

Property Value

string

PreviousLayoutEngineIndex

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

Property Value

int

WindowPositions

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

Property Value

ImmutableDictionary<HWND, WindowPosition>