def setAutoOpen(self, autoOpenTopLevelMenu):
        if autoOpenTopLevelMenu != self._openRootOnHover:
            self._openRootOnHover = autoOpenTopLevelMenu
            self.requestRepaint()
Using this method menubar can be put into a special mode where top
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuBar.setAutoOpen