Name

e_config_add_items —

Synopsis

void e_config_add_items (ec,  
 items,  
 commitfunc,  
 abortfunc,  
 freefunc,  
 data); 
EConfig *  ec;
GSList *  items;
EConfigItemsFunc  commitfunc;
EConfigItemsFunc  abortfunc;
EConfigItemsFunc  freefunc;
void *  data;

Arguments

ec

An initialised implementing instance of EConfig.

items

A list of EConfigItem's to add to the configuration manager ec.

commitfunc

If supplied, called to commit the configuration items to persistent storage.

abortfunc

If supplied, called to abort/undo the storage of these items permanently.

freefunc

If supplied, called to free the item list (and/or items) once they are no longer needed.

data

Data for the callback methods.

Description

Add new EConfigItems to the configuration window. Nothing will be done with them until the widget is built.

TODO

perhaps commit and abort should just be signals.