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
Id
The unique id of the workspace.
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.
HWND LastFocusedWindowHandle { get; }
Property Value
LayoutEngines
All the layout engines currently in the workspace.
ImmutableList<ILayoutEngine> LayoutEngines { get; }
Property Value
Name
The name of the workspace.
string Name { get; }
Property Value
PreviousLayoutEngineIndex
The index of the layout engine in LayoutEngines which was previously active.
int PreviousLayoutEngineIndex { get; }
Property Value
WindowPositions
Map of windows to their WindowPositions.
ImmutableDictionary<HWND, WindowPosition> WindowPositions { get; }