type=item layouts

<layout type="item" id="main-table">
  <append_item>

    <!-- ... -->

  </append_item>
</layout>

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

Creating type=item layouts

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

Initializing x::w::new_itemlayoutmanagers

<container>
  <name>main-table</name>
  <type>item</type>
</container>

An optional config element sets non-default values of the x::w::new_itemlayoutmanager that creates the container:

appearance

Sets the x::w::new_itemlayoutmanager's appearance value:

<config>
  <appearance>options</appearance>
</config>

<appearance id="options" type="item_layout">

  <!-- ... -->

</appearance>

The value of the element specifies an appearance object of type=item_layout.