Sequence.insertSortedIter

Like g_sequence_insert_sorted(), but uses a GSequenceIterCompareFunc instead of a GCompareDataFunc as the compare function. iter_cmp is called with two iterators pointing into seq. It should return 0 if the iterators are equal, a negative value if the first iterator comes before the second, and a positive value if the second iterator comes before the first. It is called with two iterators pointing into seq. It should return 0 if the iterators are equal, a negative value if the first iterator comes before the second, and a positive value if the second iterator comes before the first. Since 2.14

class Sequence
insertSortedIter

Parameters

data void*

data for the new item

iterCmp GSequenceIterCompareFunc

the function used to compare iterators in the sequence

cmpData void*

user data passed to cmp_func

Return Value

a GSequenceIter pointing to the new item

Meta