Method
GLibKeyFileset_value
since: 2.6
Declaration [src]
void
g_key_file_set_value (
GKeyFile* key_file,
const gchar* group_name,
const gchar* key,
const gchar* value
)
Description [src]
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 g_key_file_set_string().
Available since: 2.6
Parameters
group_name
-
Type:
const gchar*
A group name.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. key
-
Type:
const gchar*
A key.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. value
-
Type:
const gchar*
A string.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.