BitsetIter
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gtk_bitset_iter_get_type ()" ) ]
public struct BitsetIter
Iterates over the elements of a [struct@Gtk.
Bitset].
`GtkBitSetIter is an opaque, stack-allocated struct.
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:
Methods:
- public uint get_value ()
Gets the current value that this
points to.
- public bool init_at (Bitset @set, uint target, out uint value)
Initializes iter to point to target.
- public bool init_first (Bitset @set, out uint value)
Initializes an iterator for set and points it to the
first value in set.
- public bool init_last (Bitset @set, out uint value)
Initializes an iterator for set and points it to the last
value in set.
- 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.