data for the new item
the GCompareDataFunc used to compare items in the sequence. It is called with two items of the seq and user_data. It should return 0 if the items are equal, a negative value if the first item comes before the second, and a positive value if the second item comes before the first.
user data passed to cmp_func.
an GSequenceIter pointing to the position where data would have been inserted according to cmp_func and cmp_data.
Returns an iterator pointing to the position where data would be inserted according to cmp_func and cmp_data. If you are simply searching for an existing element of the sequence, consider using g_sequence_lookup(). Since 2.14