Basics
Guides
API Reference
Basics
Guides
API Reference
[32:7] extends: object
The GtkTreeIter is the primary structure for accessing a GtkTreeModel.
Models are expected to put a unique integer in the @stamp member, and put
model-specific data in the three @user_data members.
GtkTreeIter (Handle = null)
Creates a new
TreeIterby 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.copy ()
Creates a dynamically allocated tree iterator as a copy of @iter. This function is not intended for use in applications, because you can just copy the structs by value (
GtkTreeIter new_iter = iter;). You must free this iter with gtk_tree_iter_free().
a newly-allocated copy of @iter.free ()
Frees an iterator that has been allocated by gtk_tree_iter_copy(). This function is mainly used for language bindings.
None.[12:14] static extends: object
Generated struct layout helper for GIR record TreeIter.
layout ()
Returns the Panama struct layout for
TreeIter.

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