Delete the specified menu

        :param menu:
        :type menu:
        :returns:
        :rtype:
        :raises:

def delete_menu(self, menu):
        """ Delete the specified menu

        :param menu:
        :type menu:
        :returns:
        :rtype:
        :raises:
        """
        if menu.parent is None:
            del self.menus[menu.name()]
        menu._delete()