gtk.bitset_iter

Module for [BitsetIter] class

Types 1

An opaque, stack-allocated struct for iterating over the elements of a gtk.bitset.Bitset.

Before a gtk.bitset_iter.BitsetIter can be used, it needs to be initialized with gtk.bitset_iter.BitsetIter.initFirst, gtk.bitset_iter.BitsetIter.initLast or gtk.bitset_iter.BitsetIter.initAt.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
BitsetIter self() nothrowReturns `this`, for use in `with` statements.
uint getValue() nothrowGets the current value that iter points to.
bool isValid() nothrowChecks if iter points to a valid value. Returns: true if iter points to a valid value
bool next(out uint value) nothrowMoves iter to the next value in the set.
bool previous(out uint value) nothrowMoves iter to the previous value in the set.
bool initAt(out gtk.bitset_iter.BitsetIter iter, gtk.bitset.Bitset set, uint target, out uint value) static nothrowInitializes iter to point to target.
bool initFirst(out gtk.bitset_iter.BitsetIter iter, gtk.bitset.Bitset set, out uint value) static nothrowInitializes an iterator for set and points it to the first value in set.
bool initLast(out gtk.bitset_iter.BitsetIter iter, gtk.bitset.Bitset set, out uint value) static nothrowInitializes an iterator for set and points it to the last value in set.
Constructors
this()Create a `bitset_iter.BitsetIter` boxed type.
this(void * ptr, Flag!"Take" take)