'Write the given variable to the given setting of the configuration
file.'

def _setSetting(self, variable, setting):

    n = 3
    string_list = []
    for i in range(len(variable)):
        for j in range(n):
            string_list.append(str(variable[i][j]))
    separator = ',    '
    self.parent.set(setting, separator.join(string_list))
