Function

GimpPDBset_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’.

Parameters

identifier 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 An array of gconstpointer
 

A byte array containing data.

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

The number of bytes in the data.

Return value

Returns: gboolean
 

TRUE on success.