glib.sequence_iter
Module for [SequenceIter] class
class SequenceIter
Types 1
classSequenceIter
The #GSequenceIter struct is an opaque data type representing an iterator pointing into a #GSequence.
Methods
void * _cPtr()int compare(glib.sequence_iter.SequenceIter b)Returns a negative number if `a` comes before `b`, 0 if they are equal, and a positive number if `a` comes after `b`.int getPosition()Returns the position of iter Returns: the position of iterglib.sequence.Sequence getSequence()Returns the #GSequence that iter points into. Returns: the #GSequence that iter points intobool isBegin()Returns whether iter is the begin iterator Returns: whether iter is the begin iteratorbool isEnd()Returns whether iter is the end iterator Returns: Whether iter is the end iteratorglib.sequence_iter.SequenceIter move(int delta)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 ...glib.sequence_iter.SequenceIter next()Returns an iterator pointing to the next position after iter. If iter is the end iterator, the end iterator is returned. Returns: a #GSequenceIter pointing to the next position after iterglib.sequence_iter.SequenceIter prev()Returns an iterator pointing to the previous position before iter. If iter is the begin iterator, the begin iterator is returned. Returns: a #GSequenceIter pointing to the previous position before ...