def getSize(self):
        if self._itsChildren is not None:
            return len(self._itsChildren)
        return -1
Returns the number of children.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.getSize