def setCollapse(self, collapse):
        self._collapseItems = collapse
        self.requestRepaint()
Enable or disable collapsing top-level items. Top-level items will
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuBar.setCollapse