Struct

GLibSequenceIter

Description [src]

struct GSequenceIter {
  /* No available fields */
}

The GSequenceIter struct is an opaque data type representing an iterator pointing into a GSequence.

Instance methods

g_sequence_iter_compare

Returns a negative number if a comes before b, 0 if they are equal, and a positive number if a comes after b.

since: 2.14

g_sequence_iter_get_position

Returns the position of iter.

since: 2.14

g_sequence_iter_get_sequence

Returns the GSequence that iter points into.

since: 2.14

g_sequence_iter_is_begin

Returns whether iter is the begin iterator.

since: 2.14

g_sequence_iter_is_end

Returns whether iter is the end iterator.

since: 2.14

g_sequence_iter_move

Returns the GSequenceIter which is delta positions away from iter. If iter is closer than -delta positions to the beginning of the sequence, the begin iterator is returned. If iter is closer than delta positions to the end of the sequence, the end iterator is returned.

since: 2.14

g_sequence_iter_next

Returns an iterator pointing to the next position after iter. If iter is the end iterator, the end iterator is returned.

since: 2.14

g_sequence_iter_prev

Returns an iterator pointing to the previous position before iter. If iter is the begin iterator, the begin iterator is returned.

since: 2.14