<?xml version="1.0"?>

<?xml-stylesheet href="chrome://venkman/skin/venkman.css" type="text/css"?>

<window
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  orient="vertical" onload="onload();" height="300" width="200"
  persist="top left">
    <script>
      <![CDATA[
        var DEBUG = true;
      ]]>
    </script>
    <script src="chrome://venkman/content/venkman-utils.js"/>    
    <script>
      <![CDATA[
        dd = function (msg) { dump("-*- tree: " + msg + "\n"); }
        var ASSERT = function (expr, msg) {
            if (!expr)
                dd ("** ASSERTION FAILED: " + msg + " **\n" + getStackTrace()); 
        }
      ]]>
    </script>
    <script src="chrome://venkman/content/tree-utils.js"/>    
    <script src="chrome://venkman/content/tests/tree.js"/>    
    <tree flex="1" id="sample-tree">
      <treecols>
        <treecol id="sample-name" label="Name" primary="true" flex="1"/>
        <splitter class="sample-splitter"/>
        <treecol flex="1" id="sample-gender" label="Gender"/>
      </treecols>
      <treechildren id="sample-body"/>
    </tree>
  <button onclick="document.location.href=document.location.href" label="reload"/>
  <button onclick="toggleBetty()" label="toggle betty"/>
  <button onclick="dt()" label="dump tree"/>
  <button onclick="dbg();" label="debug"/>
</window>
