Basics
Guides
API Reference
Basics
Guides
API Reference
[12:14] static extends: object
Generated struct layout helper for GIR record BitsetIter.
layout ()
Returns the Panama struct layout for
BitsetIter.
[30:7] extends: object
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].
GtkBitsetIter (Handle = null)
Creates a new
BitsetIterby 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.get_value ()
Gets the current value that @iter points to. If @iter is not valid and [method@Gtk.BitsetIter.is_valid] returns %FALSE, this function returns 0.
The current value pointer to by @iter.is_valid ()
Checks if @iter points to a valid value.
%TRUE if @iter points to a valid value.next ()
Moves @iter to the next value in the set. If it was already pointing to the last value in the set, %FALSE is returned and @iter is invalidated.
value is Set to the next value.%TRUE if a next value existed.previous ()
Moves @iter to the previous value in the set. If it was already pointing to the first value in the set, %FALSE is returned and @iter is invalidated.
value is Set to the previous value.%TRUE if a previous value existed.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.