235
edits
(Add Mnyromyr's) |
|||
Line 60: | Line 60: | ||
=== Example Use === | === Example Use === | ||
In Mnyromyr's implementation, he adds <code><preftree></code> and <code><preftreeitem></code> elements | In Mnyromyr's implementation, he adds <code><preftree></code> and <code><preftreeitem></code> elements which serve the purpose of defining the hierarchical structure of the tree. The <code><preftreeitem></code>'s themselves ''point'' to the pane via the pane's id in a <code>prefpane</code> attribute. The <code><preftreeitem></code> element will look first on itself for a <code>label</code> attribute to use as the treeitem's label; if there is no <code>label</code> set on itself, it will look on the referenced <code><prefpane></code> element for a label. | ||
If no <code><preftree></code> element is given, all panes will be listed as top-level panes; if a <code><preftree></code> is present, only those panes are accessible that are referenced by a <code><preftreeitem></code>! | |||
<pre> | <pre> |
edits