PEATDB/PEATApp.py
def toggleMenus(self, state='normal'):
        """Enable or disable main menus when DB is loaded"""
        items = [2,3,4,6,7,8]
        if 'Darwin' in platform.platform():
            items = []
        for i in items:
            self.menu.entryconfig(i, state=state)
        return
Enable or disable main menus when DB is loaded
Enable or disable main menus when DB is loaded
Enable or disable main menus when DB is loaded
def toggleMenus(self, state='normal'):
        items = [2,3,4,6,7,8]
        if 'Darwin' in platform.platform():
            items = []
        for i in items:
            self.menu.entryconfig(i, state=state)
        return
def toggleMenus ( self , state = 'normal' ) : items = [ 2 , 3 , 4 , 6 , 7 , 8 ] if 'Darwin' in platform . platform ( ) : items = [ ] for i in items : self . menu . entryconfig ( i , state = state ) return
Enable or disable main menus when DB is loaded
Enable or disable main menus when DB is loaded
"""Enable or disable main menus when DB is loaded"""
self
state