Table of Contents

Interface ITreeLayoutPlugin

Namespace
Whim.TreeLayout
Assembly
Whim.TreeLayout.dll
TreeLayoutPlugin provides commands and functionality for the TreeLayoutEngine. TreeLayoutPlugin does not load the TreeLayoutEngine - that is done when creating a workspace via Add(string?, IEnumerable<CreateLeafLayoutEngine>?).
public interface ITreeLayoutPlugin : IPlugin
Inherited Members

Methods

GetAddWindowDirection(IMonitor)

Get the current direction for adding new windows to the tree layout for the given monitor. This will only work if the monitor's current workspace's active layout engine is or contains a tree layout engine.
Direction? GetAddWindowDirection(IMonitor monitor)

Parameters

monitor IMonitor

Returns

Direction?

GetAddWindowDirection(TreeLayoutEngine)

Get the current direction for adding new windows to the tree layout for the given layout engine engine.
Direction GetAddWindowDirection(TreeLayoutEngine engine)

Parameters

engine TreeLayoutEngine

Returns

Direction

SetAddWindowDirection(IMonitor, Direction)

Set the direction in which to add new windows to the tree layout for the given monitor. This will only work if the monitor's current workspace's active layout engine is or contains a tree layout engine.
void SetAddWindowDirection(IMonitor monitor, Direction direction)

Parameters

monitor IMonitor
direction Direction

SetAddWindowDirection(TreeLayoutEngine, Direction)

Set the direction in which to add new windows to the tree layout for the given layout engine engine.
void SetAddWindowDirection(TreeLayoutEngine engine, Direction direction)

Parameters

engine TreeLayoutEngine
direction Direction

Events

AddWindowDirectionChanged

Event raised when the direction in which to add new windows to the tree layout for a monitor changes.
event EventHandler<AddWindowDirectionChangedEventArgs>? AddWindowDirectionChanged

Event Type

EventHandler<AddWindowDirectionChangedEventArgs>