type
=“item”
layout
s
<layout type="item" id="main-table"> <append_item> <!-- ... --> </append_item> </layout>
The contents of a
layout
s with
type
=“item”
specify the item
layout manager methods that get invoked to
generate
() its contents.
type
=“item”
layout
s
A container
with a
type
=“item”
creates a container that uses the
item layout manager.
x::w::new_itemlayoutmanager
s<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”.