79 |
self.tree = tree = TreeCtrl(self, self) |
self.tree = tree = TreeCtrl(self, self) |
80 |
root = tree.AddRoot('Schema') |
root = tree.AddRoot('Schema') |
81 |
tree.SetItemHasChildren(root, 1) |
tree.SetItemHasChildren(root, 1) |
|
## tree.SetPyData(root, self) |
|
82 |
for connection in self.connectionNames: |
for connection in self.connectionNames: |
83 |
ConnectionNode(self, tree, root, connection=connection) |
ConnectionNode(self, tree, root, connection=connection) |
84 |
tree.Expand(root) |
## tree.Expand(root) |
85 |
|
|
86 |
|
|
87 |
# scroller.EnableScrolling(False, False) |
# scroller.EnableScrolling(False, False) |