[ CCode ( cname = "DeeFilterMapFunc" , has_target = false ) ]
public delegate void StaticFilterMapFunc (Model orig_model, FilterModel filter_model, void* data)
Function used to collect the rows from a model that should be included in a FilterModel.
To add rows to filter_model
use the methods append_iter,
prepend_iter,
insert_iter, and insert_iter_before.
The iteration over the original model is purposely left to the map func in order to allow optimized iterations if the the caller has a priori knowledge of the sorting and grouping of the data in the original model.
orig_model |
The model containing the original data to filter |
filter_model |
The model that will contain the filtered results. The filter func must iterate over |
user_data |
User data passed together with the filter func |