def _dispose_items ( self ):
        layout = self._list_pane.layout()
        child = layout.takeAt(0)
        while child is not None:
            control = child.widget()
            if control is not None:
                editor = getattr( control, '_editor', None )
                if editor is not None:
                    editor.dispose()
                    editor.control = None
                control.deleteLater()
            child = layout.takeAt(0)
        del child

    #-- Trait initializers ----------------------------------------------------
Disposes of each current list item.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/list_editor.py/SimpleEditor._dispose_items