<titlebar> tag does not have the standarf minimise, maximise or close buttons and the reference says “Any elements inside the titlebar do not receive events.” so what do you do if you want a custom titlebar with the standard buttons?

After some hair pulling Shyamal came up with a nice simple idea (which looks so obvious now :) )

<hbox>

<image id=”logo” />

<menuseparator />

<titlebar id=”myPersonalTitleBar”/>
<menuseparator />

<image id=”closeImg”/>

</hbox >

Simple huh!!