insert_row_sorted_with_sizes
Description:
public unowned ModelIter insert_row_sorted_with_sizes (Variant[] row_members, CompareRowSizedFunc cmp_func)
Inserts a row in this according to the sorting specified by cmp_func.
If you use this method for insertion you should not use other methods as this method assumes the model to be already sorted by cmp_func
.
Parameters:
| this |
The model to do a sorted insert on |
| row_members |
An array of Variants with type signature matching those of the column schemas of this. If any of the variants have floating references they will be consumed. |
| cmp_func |
Callback used for comparison or rows |
| user_data |
Arbitrary pointer passed to |
Returns:
|
A ModelIter pointing to the new row |