Gimp.PDB.set_data
Description: Reference for Gimp.PDB.set_data

### Function

# Gimp PDBset_data

#### Declaration [src]

    gboolean
    gimp_pdb_set_data (
      const gchar* identifier,
      gconstpointer data,
      guint32 data_len
    )

#### Description [src]

Associates the specified identifier with the supplied data.

This procedure associates the supplied data with the provided identifier. The data may be subsequently retrieved by a call to ‘procedural-db-get-data’.

This function is not directly available to language bindings.

#### Parameters

`identifier`

  Type: `const gchar*`

  The identifier associated with data.

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

`data`

  Type: An array of `gconstpointer`

  A byte array containing data.

  The length of the array is specified in the `data_len` argument.

`data_len`

  Type: `guint32`

  The number of bytes in the data.

#### Return value

Type: `gboolean`

TRUE on success.