DataList.getData

Gets a data element, using its string identifier. This is slower than g_datalist_id_get_data() because it compares strings.

struct DataList
static
void*
getData
(,
string key
)

Parameters

datalist GData**

a datalist.

key string

the string identifying a data element.

Return Value

Type: void*

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