type=toolbox layouts

<layout type="toolbox" id="main-toolbox">
  <append_tools>main-tools</append_tools>
</layout>

The contents of a layouts with type=toolbox specify the toolbox layout manager methods that get invoked to generate() its contents.

Creating type=toolbox layouts

A container with a type=toolbox creates a container that uses the toolbox layout manager.

Initializing x::w::new_toolboxlayoutmanager

<container>
  <name>tools</name>
  <type>toolbox</type>
  <config>
    <default_width>2</default_width>
  </config>
</container>

The config element initializes the x::w::new_toolboxlayoutmanager that creates the container:

default_width

Sets the x::w::new_tablelayoutmanager's default_width value:

<config>
  <default_width>4</default_width>
</config>