Gly.Creator.add_metadata_key_value

### Method

# Gly Creatoradd_metadata_key_value

since: 2.0

#### Declaration [src]

    gboolean
    gly_creator_add_metadata_key_value (
      GlyCreator* creator,
      const gchar* key,
      const gchar* value
    )

#### Description [src]

Add metadata that are stored as key-value pairs. A prominent example are PNG’s `tEXt` chunks.

If an entry with `key` already exists, it will be replaced.

Available since: 2.0

#### Parameters

`key`

  Type: `const gchar*`

  A null-terminated string.

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

`value`

  Type: `const gchar*`

  A null-terminated string.

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

#### Return value

Type: `gboolean`

`TRUE` if format supports key-value storage.