1 <!-- Copyleft 2004 - see COPYING for details [LGPL] -->
3 <ibex xmlns:theme="org.ibex.theme.win2k">
6 <desc>A scrollbar widget, commonly found in scrollpanes</desc>
8 Put to the text property of a button for a basic label,
9 or simply wrap the button around more complex content
14 <theme:margin redirect="null" orient="horizontal">
15 <theme:scrollbar id="widget">
16 ibex..org.ibex.theme.win2k.polarizable(thisbox);
21 redirectTo($widget, "orient", "slave");
23 if ($widget.margin) thisbox.margin = $widget.margin;
24 if ($widget.padding) $content.padding = $widget.padding;
26 //var shrfun = function(v) { ibex.log.info(trapname); }
27 //$widget.shrink ++= shrfun;
28 //$widget.hshrink ++= shrfun;
29 //$widget.vshrink ++= shrfun;
31 $widget.SizeChange ++= function(v) { thisbox.hshrink = $widget.hshrink; thisbox.vshrink = $widget.vshrink; }