<root>
<vbox>
<template path="/information">
<vbox>
  <label label="Information about selected object" />
  <template path="auto-generated">
  <template path="/list/items/*">
    <variable name="name" action="change" function="path" />
    <variable name="name" action="append" value="/name" />
    <attr-connect name="widget-name" variable="name" />
    <template path="data/*">
      <hbox>
        <variable name="column-path" action="append" value="/list/columns/" />
        <variable name="column-path" action="append" function="last-dir" />
        <label>
          <attr-connect name="label" function="last-dir" />
          <attr-connect name="label" function="label" param="column-path" />'
        </label>
        <label dir-for="label" />
      </hbox>
    </template>
    <hide />
  </template>
  </template>
  <template path="custom/text/*">
    <hbox>
      <template path="name">
        <label dir-for="label" />
      </template>
      <template path="value">
        <label dir-for="label" />
      </template>
    </hbox>
  </template>
</vbox>
</template>
<template path="/objects-related">
<slot />
</template>
<hbox>
<list>
  <template path="/list/columns/*">
    <column dir-for="label">
      <attr-connect name="name" function="last-dir" />
      <attr-connect name="label" function="last-dir" />
    </column>
  </template>

  <template path="/list/items/*">
    <selection>
      <template path="selected">
        <event />
      </template>
      <template path="data/*">
        <data dir-for="label">
          <attr-connect name="column-name" function="last-dir" />
          <attr-connect name="label" function="last-dir" />
        </data>
      </template>
    </selection>
  </template>
</list>

<vbox>
<template path="/actions/*">
<button dir-for="label,event">
<attr-connect name="label" function="last-dir" />
</button>
</template>
</vbox>
</hbox>
</vbox>
</root>
