def child_added(self, child):
        super(QtStackItem, self).child_added(child)
        if isinstance(child, QtContainer):
            self.widget.setStackWidget(self.stack_widget())
Handle the child added event for a QtStackItem.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_stack_item.py/QtStackItem.child_added