Show More
@@ -44,7 +44,7 b' class Widget(LoggingConfigurable):' | |||
|
44 | 44 | callback(widget)""" |
|
45 | 45 | Widget.widget_construction_callback = callback |
|
46 | 46 | |
|
47 |
def _ |
|
|
47 | def _call_widget_constructed(widget): | |
|
48 | 48 | """Class method, called when a widget is constructed.""" |
|
49 | 49 | if Widget.widget_construction_callback is not None and callable(Widget.widget_construction_callback): |
|
50 | 50 | Widget.widget_construction_callback(widget) |
@@ -71,7 +71,7 b' class Widget(LoggingConfigurable):' | |||
|
71 | 71 | super(Widget, self).__init__(**kwargs) |
|
72 | 72 | |
|
73 | 73 | self.on_trait_change(self._handle_property_changed, self.keys) |
|
74 |
Widget._ |
|
|
74 | Widget._call_widget_constructed(self) | |
|
75 | 75 | |
|
76 | 76 | def __del__(self): |
|
77 | 77 | """Object disposal""" |
General Comments 0
You need to be logged in to leave comments.
Login now