BitsetIter
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
public struct BitsetIter
An opaque, stack-allocated struct for iterating over the elements of a `GtkBitset`.
Before a `GtkBitsetIter` can be used, it needs to be initialized with [func@Gtk.BitsetIter.init_first], [func@Gtk.BitsetIter.init_last] or [
func@Gtk.BitsetIter.init_at].
Content:
Static methods:
- public static bool init_at (out BitsetIter iter, Bitset @set, uint target, out uint value)
Initializes iter
to point to target
.
- public static bool init_first (out BitsetIter iter, Bitset @set, out uint value)
Initializes an iterator for set
and points it to the first
value in set
.
- public static bool init_last (out BitsetIter iter, Bitset @set, out uint value)
Initializes an iterator for set
and points it to the last value
in set
.
Methods:
- public uint get_value ()
Gets the current value that this points
to.
- public bool is_valid ()
Checks if this points to a valid value.
- public bool next (out uint value)
Moves this to the next value in the set.
- public bool previous (out uint value)
Moves this to the previous value in the
set.