def removeItem(self, item):
        if item is not None:
            self._menuItems.remove(item)
        self.requestRepaint()
Remove first occurrence the specified item from the main menu
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuBar.removeItem