Method
GLibKeyFileset_string_list
Declaration
void
g_key_file_set_string_list (
GKeyFile* key_file,
const gchar* group_name,
const gchar* key,
const gchar* const* list,
gsize length
)
Description
Associates a list of string values for key
under group_name
.
If key
cannot be found then it is created.
If group_name
cannot be found then it is created.
Available since: | 2.6 |
Parameters
group_name |
const gchar* |
A group name. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
key |
const gchar* |
A key. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
list |
An array of utf8 |
An array of string values. |
|
The array must be NULL -terminated. | |
The length of the array is specified in the length argument. | |
The data is owned by the caller of the function. | |
Each element is a NUL terminated UTF-8 string. | |
length |
gsize |
Number of string values in |