insert_iter_with_original_order


Description:

public unowned ModelIter insert_iter_with_original_order (ModelIter iter)

Inserts iter in this in a way that is consistent with the ordering of the rows in the original Model behind this.

THis method assumes that this is already ordered this way. If that's not the case then this method has undefined behaviour.

This method is mainly intended as a helper for FilterMapNotify functions of Filter implementations that creates filter models sorted in accordance with the original models.

Parameters:

this

A FilterModel instance

iter

Iterator

Returns:

Always returns iter