Gimp.PDB.set_data

@accepts(unicode, gpointer, guint32)
@returns(bool)
def set_data(identifier, data, bytes):
    # Python wrapper for gimp_pdb_set_data()
  

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'.

identifier

The identifier associated with data.

data

A byte array containing data.

bytes

The number of bytes in the data

Returns