Table of Contents

Tree Layout Plugin

TreeLayoutPlugin provides commands and functionality for the TreeLayoutEngine.

TreeLayoutPlugin does not load the TreeLayoutEngine - that is done when creating a workspace via the AddWorkspaceTransform.

For more about the TreeLayoutEngine, see the Layout Engines page.

The Tree Layout Bar plugin provides a widget for the bar to set the direction to add the next window.

Example Config

#r "WHIM_PATH\whim.dll"
#r "WHIM_PATH\plugins\Whim.TreeLayout\Whim.TreeLayout.dll"

using Whim;
using Whim.TreeLayout;

void DoConfig(IContext context)
{
  // ...

  TreeLayoutPlugin treeLayoutPlugin = new(context);
  context.PluginManager.AddPlugin(treeLayoutPlugin);

  // ...
}

return DoConfig;

Commands

Identifier Title Keybind
whim.tree_layout.add_tree_direction_left Add windows to the left of the current window Win + Ctrl + Shift + LEFT
whim.tree_layout.add_tree_direction_right Add windows to the right of the current window Win + Ctrl + Shift + RIGHT
whim.tree_layout.add_tree_direction_up Add windows above the current window Win + Ctrl + Shift + UP
whim.tree_layout.add_tree_direction_down Add windows below the current window Win + Ctrl + Shift + DOWN