def child_added(self, child):
        super(QtFlowArea, self).child_added(child)
        if isinstance(child, QtFlowItem):
            for index, dchild in enumerate(self.children()):
                if dchild is child:
                    self.widget.layout().insertWidget(index, child.widget)
Handle the child added event for a QtMdiArea.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_flow_area.py/QtFlowArea.child_added