type
=“border”
layout
s
<!-- in some factory... --> <container> <name>application-options</name> <type>border</type> <config> <title type='theme_text'>Options</title> </config> </container> <layout type="border" id="application-options"> <replace>application-options-contents</replace> </layout> <factory type="factory" id="application-option-contents"> <container> <name>options</name> <type>grid</type> </container> </factory> x::w::borderlayoutmanager glm=container->get_layoutmanager(); glm->generate("application-options", generator, elements);
The contents of a
layout
s of
type
=“border”
specify the methods invoked by border
layout manager's generate
().
type
=“border”
layout
s
A container
with a
type
=“border”
creates a container that uses the
border layout manager.
A layout
with the same
id
as the
name
must exist and, typically,
containts at least a replace
element,
and sets the initial contents of the border container.
An optional
config
element sets non-default values
of the
x::w::new_borderlayoutmanager
that creates the container:
appearance
Sets the border layout manager's
appearance
object.
title
Sets the optional initial
title
.
The contents of this element is a x::w::text_param
value.
<no_background/>
Sets the no_background
to
true
.