Method

GLibKeyFileset_integer_list

since: 2.6

Declaration [src]

void
g_key_file_set_integer_list (
  GKeyFile* key_file,
  const gchar* group_name,
  const gchar* key,
  gint* list,
  gsize length
)

Description [src]

Associates a list of integer values with key under group_name. If 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.
list

Type: An array of gint

An array of integer values.

The length of the array is specified in the length argument.
The data is owned by the caller of the method.
length

Type: gsize

Number of integer values in list.