type
=“toolbox”
factory
s
The contents of a
factory
s of
type
=“toolbox”
specify the
x::w::toolboxfactory
methods that get invoked when generating the contents of a toolbox
container:
<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.