Show More
@@ -17,7 +17,8 b' class ContainerWidget(DOMWidget):' | |||||
17 | # When a proper notifying-list trait exists, that is what should be used here. |
|
17 | # When a proper notifying-list trait exists, that is what should be used here. | |
18 | children = Tuple(sync=True) |
|
18 | children = Tuple(sync=True) | |
19 |
|
19 | |||
20 | def __init__(self, **kwargs): |
|
20 | def __init__(self, children = None, **kwargs): | |
|
21 | kwargs['children'] = children | |||
21 | super(ContainerWidget, self).__init__(**kwargs) |
|
22 | super(ContainerWidget, self).__init__(**kwargs) | |
22 | self.on_displayed(ContainerWidget._fire_children_displayed) |
|
23 | self.on_displayed(ContainerWidget._fire_children_displayed) | |
23 |
|
24 |
General Comments 0
You need to be logged in to leave comments.
Login now