<root>
<menu>
<template path="/actions/*">
<submenu dir-for="label">
<attr-connect name="label" function="last-dir" />
<template path="*">
<item dir-for="label,event">
<icon dir-for="icon" width="8" height="8" />
<attr-connect name="label" function="last-dir" />
</item>
</template>
</submenu>
</template>
</menu>

<vbox>
<hbox>
<template path="/preview">
<drawning-area dir-for="event">
<template path="repaint">
   <event signame="paint" />
</template>
</drawning-area>
<label label="Information bar" />
<template path="/information/*">
<hbox>
<label dir-for="label" />
<label dir-for="description" />
</hbox>
</template>
</template>
</hbox>
<template path="/view">
<drawning-area dir-for="event">
<template path="repaint">
<event signame="paint" />
</template>
</drawning-area>
</template>
</vbox>
</root>
