def _get_native_index(self, nchild):
        l = self._get_native_children()
        try:
            return l.index(nchild)
        except (__HOLE__, ValueError) as e:
            return -1
dataset/ETHPy150Open ejeschke/ginga/ginga/qtw/Widgets.py/ContainerBase._get_native_index