get_data


Description:

public unowned G get_data (string key)

Gets a data element, using its string identifier.

This is slower than id_get_data because it compares strings.

Parameters:

key

the string identifying a data element.

datalist

a datalist.

Returns:

the data element, or null if it is not found.