% interface=en output=pdftex
% Time-stamp: <Freitag, 30 Dezember 2005 13:54:11; test.tex>
%
\setupcolors[state=start]
\setupinteraction[state=start]


\starttext

\def\Stackbox#1{\nointerlineskip\vbox\bgroup\wd#1=\zeropoint\ht#1=\zeropoint\dp#1=\zeropoint
  \dontleavehmode\noindent\box#1\egroup}

\defineproperty[layer1][layer][title={one}, state=stop]
\defineproperty[layer2][layer][title={two}, state=start]


\newbox\Layerbox

\startproperty[layer1]
\setbox\Layerbox\vbox{\framed[width=160mm,height=120mm,framecolor=red]
  {\tooltip{First Layer with tooltip}{widget of layer one is active}}}
\Stackbox\Layerbox
\stopproperty
\startproperty[layer2]
\setbox\Layerbox\vbox{\framed[width=160mm,height=120mm,framecolor=green,frameoffset=1pt]
  {Second Layer without tooltip}}
\Stackbox\Layerbox
\stopproperty


\stoptext


%%% Local Variables:
%%% mode: context
%%% TeX-master: ""
%%% End:
