KeyFile.setValue

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 KeyFile.setString.

class KeyFile
void
setValue
(
string groupName
,
string key
,
string value
)

Parameters

groupName string

a group name

key string

a key

value string

a string

Meta