Gnome::Gtk4::N-TreeIter
Description
The Gnome::Gtk4::N-TreeIter is the primary structure for accessing a Gnome::Gtk4::R-TreeModel. Models are expected to put a unique integer in the $stamp
member, and put model-specific data in the three $user-data
members.
Class initialization
Note: The native version of this class is deprecated in gtk4-lib() since version 4.10
new
:native-object
Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object :$native-object! )
Methods
copy
Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10
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 (Gnome::Gtk4::N-TreeIter new_iter = iter;`). You must free this iter with .free()
.
method copy (--> N-Object )
Return value; a newly-allocated copy of $iter
.
free
Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10
Frees an iterator that has been allocated by .copy()
.
This function is mainly used for language bindings.
method free ( )