Class (GI Struct)

GLib-2.0GLibSequenceIterAbstract

The GLib.SequenceIter struct is an opaque data type representing an iterator pointing into a GLib.Sequence.

Index

Constructors

Properties

Methods

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

    The a and b iterators must point into the same sequence.

    Returns number

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

  • Returns whether iter is the begin iterator

    Returns boolean

    whether iter is the begin iterator

  • Returns whether iter is the end iterator

    Returns boolean

    Whether iter is the end iterator

  • Returns the GLib.SequenceIter 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.

    Parameters

    • delta: number

      A positive or negative number indicating how many positions away from iter the returned GLib.SequenceIter will be

    Returns SequenceIter

    a GLib.SequenceIter which is delta positions away from iter