Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: object
The #GSequenceIter struct is an opaque data type representing an iterator pointing into a #GSequence.
GSequenceIter (Handle = null)
Creates a new
SequenceIterby wrapping a native handle or another wrapper.
Handle is the native handle or another wrapper whose handle to adopt.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.compare (object b)
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.
b is a #GSequenceIter.a negative number if @a comes before @b, 0 if they are equal, and a positive number if @a comes after @b.get_position ()
Returns the position of @iter
the position of @iter.get_sequence ()
Returns the #GSequence that @iter points into.
the #GSequence that @iter points into.is_begin ()
Returns whether @iter is the begin iterator
whether @iter is the begin iterator.is_end ()
Returns whether @iter is the end iterator
Whether @iter is the end iterator.move (int delta)
Returns the #GSequenceIter which is @delta positions away from @iter. If
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.delta is A positive or negative number indicating how many positions away from @iter the returned #GSequenceIter will be.a #GSequenceIter which is @delta positions away from @iter.next ()
Returns an iterator pointing to the next position after @iter. If @iter is the end iterator, the end iterator is returned.
a #GSequenceIter pointing to the next position after @iter.prev ()
Returns an iterator pointing to the previous position before @iter. If
is the begin iterator, the begin iterator is returned.a #GSequenceIter pointing to the previous position before @iter.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.