GLib.KeyFile.set_boolean_list

### Method

# GLib KeyFileset_boolean_list

since: 2.6

#### Declaration

    void
    g_key_file_set_boolean_list (
      GKeyFile* key_file,
      const gchar* group_name,
      const gchar* key,
      gboolean* list,
      gsize length
    )

#### Description

Associates a list of boolean values with `key` under `group_name`. If `key` cannot be found then it is created. If `group_name` is `NULL`, the start_group is used.

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 `gboolean`

  An array of boolean 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`

  Length of `list`.