Name

e_config_add_page_check —

Synopsis

void e_config_add_page_check (ec,  
 pageid,  
 check,  
 data); 
EConfig *  ec;
const char *  pageid;
EConfigCheckFunc  check;
void *  data;

Arguments

ec

Initialised implemeting instance of EConfig.

pageid

pageid to check.

check

checking callback.

data

user-data for the callback.

Description

Add a page-checking function callback. It will be called to validate the data in the given page or pages. If pageid is NULL then it will be called to validate every page, or the whole configuration window.

In the latter case, the pageid in the callback will be either the specific page being checked, or NULL when the whole config window is being checked.

The page check function is used to validate input before allowing the druid to continue or the notebook to close.