Guest User

Untitled

a guest
Dec 19th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. t = TreeView();
  2. tc=t.insertItem(0,["test 1", "test 2"]);
  3. tc.addChild(["sub test 1","sub test 2"]);
  4. tc=t.insertItem(1,["test 1", "test 2"]);
  5. tc.addChild(["sub test 1","sub test 2"]);
  6. tc.addChild(["sub test 2"]);
  7. tc.addChild(["sub test 3"]);
  8. tc=t.insertItem(2,["test 1", "test 2"]);
  9. tc.addChild(["sub test 1","sub test 2"]);
  10. tc.addChild(["sub test 2"]);
  11. tc=t.insertItem(3,["test 1", "test 2"]);
  12. tc.addChild(["sub test 1","sub test 2"]);
  13. trackActionsView = HLayout(
  14. t
  15. );
Add Comment
Please, Sign In to add comment