KeyFile.setString
void setString(string groupName, string key, string string_)Associates a new string value with key under group_name. If key cannot be found then it is created. If group_name cannot be found then it is created. Unlike [glib.key_file.KeyFile.setValue], this function handles characters that need escaping, such as newlines.
Parameters
groupName | a group name |
key | a key |
string_ | a string |