element
widgets<element> <image>radio2</image> <width>radio-width</width> <height>radio-height</height> </element> <!-- ... --> <dim id="radio-width">10</dim> <dim id="radio-height">10</dim>
Specifying an element
with a image
creates a new theme widget
which is an
x::w::image
widget.
This is equivalent to invoking the factory's
create_image
() method.
The value of the image
element is the
first parameter to create_image
(), the image
file.
The values of optional width
and
height
elements
are id
s of
dim
s
in the them file. They are only used when the
image
is an
SXG file
and specifies the size the SXG image gets scaled to.