gui/menu.py
def RemoveItem(self, menu):
        "Helper method to remove a menu avoiding using its position"
        menus = self.GetMenus()     # get the list of (menu, title)
        menus = [submenu for submenu in menus if submenu[0] != menu]
        self.SetMenus(menus)
def RemoveItem(self, menu):
        "Helper method to remove a menu avoiding using its position"
        menus = self.GetMenus()     # get the list of (menu, title)
        menus = [submenu for submenu in menus if submenu[0] != menu]
        self.SetMenus(menus)
def RemoveItem ( self , menu ) : menus = self . GetMenus ( ) # get the list of (menu, title)
 menus = [ submenu for submenu in menus if submenu [ 0 ] != menu ] self . SetMenus ( menus )
Helper method to remove a menu avoiding using its position
Helper method to remove a menu avoiding using its position