def METHOD_NAME(self, section, settings):
    """
    Save all the settings in a given section.
    :param section: section name
    :param settings: settings to save (dict)
    """
    changed = False
    if section not in self._config:
        self._config[section] = {}
        changed = True
    for name, value in settings.items():
        if name not in self._config[section] or self._config[section][name] != str(value):
            self._config[section][name] = str(value)
            changed = True
    if changed:
        self.writeConfig()