From Porcupine wiki

Developers: attributes Property

This is a placeholder property for attaching custom attributes to a widget.

Syntax

QuiX XML
<qx:rect xmlns:qx="http://www.innoscript.org/quix">
    <qx:prop name="my_custom1" value="a string"/>
    <qx:prop name="my_custom2" type="int" value="1"/>
</qx:rect>
JavaScriptwidget.attributes["my_custom1"] = "a string";
widget.attributes["my_custom2"] = 1;

Possible values

It is clear that when setting a custom attribute with scripting, the assigned value can be of any type. When setting a custom attribute using QuiX markup - using the prop tag - the supported types are:

Retrieved from http://wiki.innoscript.org/pmwiki.php/Developers/QuiXattributes
Page last modified on February 03, 2007, at 11:33 PM