insert_sorted
Description:
Convenience function for calling insert_row_sorted.
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 |
cmp_func |
Callback used for comparison or rows |
user_data |
Arbitrary pointer passed to |
Returns:
A ModelIter pointing to the new row |