changeset 39 | 5e5deb1d3945 |
parent 19 | 5e78d52ebb24 |
child 40 | 5faa38c10b67 |
--- a/demo_treeview.py Mon Dec 17 23:19:58 2012 +0100 +++ b/demo_treeview.py Mon Dec 17 23:27:37 2012 +0100 @@ -16,9 +16,9 @@ model.add('/', ['a', 'b']) model.add('/a', ['c', 'd']) model.add((0,1), ['e', 'f']) - model.add('/0/1/0', 'g') + model.add(['a', 'd', 'e'], 'g') model.add('/a/d/f', 'h') - + view = TreeView(model) view.collapse('/a/d') self.top.add(view)