 <root>
 
 <tabbed>
 <template path="/category/*">
 <tab dir-for="label">
 <label dir-for="description" />
 <template path="*/text">
 <hbox>
 <label dir-for="label" />
 <edit dir-for="event,input,output" />
 <label dir-for="description" />
 <vbox>
 <template path="options/*">
   <button dir-for="event,label,icon">
     <attr-connect name="label" function="last-dir" />
   </button>
 </template>
 </vbox>
 </hbox>
 </template>
 </tab>
 </template>
 </tabbed>
 <hbox>
 <button label="Ok" dir-for="label,event" path="/actions/ok" />
 <button label="Cancel" dir-for="label,event" path="/actions/cancel" />
 <button label="Save" dir-for="label,event" path="/actions/save" />
 </hbox>
 </root>
