def setChecked(self, checked):
        self._checked = checked
        self._menu.requestRepaint()
Sets the checked state of the item. Only used if the item is
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.setChecked