(self, node, parent=None)
| 53 | return (emitter.instance,) |
| 54 | |
| 55 | def append_instances_from_tree(self, node, parent=None): |
| 56 | if not hasattr(node, 'attributes'): |
| 57 | return |
| 58 | if not (hasattr(node, 'variable_name') and not node.variable_name is None): |
| 59 | return |
| 60 | nodeTreeItem = self.append_instance(node, parent) |
| 61 | for child in node.children.values(): |
| 62 | self.append_instances_from_tree(child, nodeTreeItem) |
| 63 | |
| 64 | |
| 65 | class InstancesWidget(gui.VBox): |