def setParent(self, parent):
        self._itsParent = parent
Set the parent of this item. This is called by the addItem method.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.setParent