GLib.KeyFile.prototype.set_value
function set_value(group_name: String, key: String, value: String): void { // Gjs wrapper for g_key_file_set_value() }
Associates a new 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. To set an UTF-8 string which may contain characters that need escaping (such as newlines or spaces), use GLib.KeyFile.prototype.set_string.
Since 2.6
- group_name
a group name
- key
a key
- value
a string