def insert(self, parent, index, child):

        parent.insert(index, child)

        # Trait notification.
        #self.items_inserted(parent, [index], [child])

        return child
Inserts 'child' into the 'parent' item at 'index'.
dataset/ETHPy150Open enthought/pyface/pyface/viewer/default_tree_content_provider.py/DefaultTreeContentProvider.insert