def removeChildren(self):
        if self._itsChildren is not None:
            del self._itsChildren[:]
            self._itsChildren = None
            self._menu.requestRepaint()
Empty the list of children items.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.removeChildren