Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: object
#GMenuAttributeIter is an opaque structure type. You must access it using the functions below.
MenuAttributeIter (Handle = null)
Creates a new
MenuAttributeIterby 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.asObject ()
Wraps this handle as
Object.
A Object object.get_name ()
Gets the name of the attribute at the current iterator position, as a string. The iterator is not advanced.
get_value ()
Gets the value of the attribute at the current iterator position. The iterator is not advanced.
next ()
Attempts to advance the iterator to the next (possibly first) attribute. %TRUE is returned on success, or %FALSE if there are no more attributes. You must call this function when you first acquire the iterator to advance it to the first attribute (and determine if the first attribute exists at all).

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.