def setText(self, text):
        if text is not None:
            self._itsText = text
        self._menu.requestRepaint()
Set the text of this object.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.setText