type=toolbox factorys

The contents of a factorys of type=toolbox specify the x::w::toolboxfactory methods that get invoked when generating the contents of a toolbox container:

Inherited generic factory methods

<factory type="tools" id="initial-tools">
  <element id="rectangle">
    <radio />
    <appearance>rectangle-appearance</appearance>
    <group>toolbox-group</group>
  </element>
  <element id="square">
    <radio />
    <appearance>square-appearance</appearance>
    <group>toolbox-group</group>
  </element>
</factory>

A toolbox factory contains any element that's valid in a generic factory. This creates a new widget in the container.