set_data_full


Description:

public void set_data_full (string key, void* data, DestroyNotify? destroy)

Like g_object_set_data except it adds notification for when the association is destroyed, either by setting it to a different value or when the object is destroyed.

Note that the destroy callback is not called if data is null.

Parameters:

this

Object containing the associations

key

name of the key

data

data to associate with that key

destroy

function to call when the association is destroyed