Method
GLibKeyFileset_locale_string_list
since: 2.6
Declaration [src]
void
g_key_file_set_locale_string_list (
GKeyFile* key_file,
const gchar* group_name,
const gchar* key,
const gchar* locale,
const gchar* const* list,
gsize length
)
Description [src]
Associates a list of string values for key and locale under
group_name.
If locale is C then the untranslated value is set (since GLib 2.84).
If the translation for key cannot be found then it is created.
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. locale-
Type:
const gchar*A locale identifier.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. list-
Type: An array of
gchar*A
NULL-terminated array of locale string values.The array must be NULL-terminated.The length of the array is specified in the lengthargument.The data is owned by the caller of the method. Each element is a NUL terminated UTF-8 string. length-
Type:
gsizeThe length of
list.