AfDalDataList * afdal_datalist_new  ) 
 

Creates a new AfDalDataList object.

This function creates a new AfDalDataList object mainly used to hold other values and reference to objects to be used at process function.

You can check this document which talks about using Af-Arch with Gtk+ environement, where the AfDalDataList object takes a relevant part in the process.

Once you have created an AfDalDataList object you can use afdal_datalist_set or afdal_datalist_set_full to store new values. Then you can use afdal_datalist_get to get the values stored previously.

Finally, when the AfDalDataList object is no longer needed you must use afdal_datalist_free function to destroy it.

Returns:
A new empty AfDalDataList object.