gui/menu.py
def Enable(self, value):
        "enable or disable all menu items"
        for i in range(self.GetMenuItemCount()):
            it = self.FindItemByPosition(i) 
            it.Enable(value)
def Enable(self, value):
        "enable or disable all menu items"
        for i in range(self.GetMenuItemCount()):
            it = self.FindItemByPosition(i) 
            it.Enable(value)
def Enable ( self , value ) : for i in range ( self . GetMenuItemCount ( ) ) : it = self . FindItemByPosition ( i ) it . Enable ( value )
enable or disable all menu items
enable or disable all menu items