gui/menu.py
def IsEnabled(self, *args, **kwargs):
        "check if all top menus are enabled"
        for i in range(self.GetMenuCount()):
            if not self.IsEnabledTop(i):
                return False
        return True
def IsEnabled(self, *args, **kwargs):
        "check if all top menus are enabled"
        for i in range(self.GetMenuCount()):
            if not self.IsEnabledTop(i):
                return False
        return True
def IsEnabled ( self , * args , * * kwargs ) : for i in range ( self . GetMenuCount ( ) ) : if not self . IsEnabledTop ( i ) : return False return True
check if all top menus are enabled
check if all top menus are enabled