Method

GLibKeyFileset_integer

since: 2.6

Declaration

void
g_key_file_set_integer (
  GKeyFile* key_file,
  const gchar* group_name,
  const gchar* key,
  gint value
)

Description

Associates a new integer value 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 function.
The value is a NUL terminated UTF-8 string.
key

Type: const gchar*

A key.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
value

Type: gint

An integer value.