TreeIter

class TreeIter(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

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.

Constructors

Link copied to clipboard
constructor()

Allocate a new TreeIter.

constructor(scope: <Error class: unknown class>)

Allocate a new TreeIter using the provided AutofreeScope.

constructor(stamp: <Error class: unknown class>, userData: <Error class: unknown class>, userData2: <Error class: unknown class>, userData3: <Error class: unknown class>)

Allocate a new TreeIter.

constructor(stamp: <Error class: unknown class>, userData: <Error class: unknown class>, userData2: <Error class: unknown class>, userData3: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new TreeIter using the provided AutofreeScope.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkTreeIterPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var stamp: <Error class: unknown class>

a unique stamp to catch invalid iterators

Link copied to clipboard
var userData: <Error class: unknown class>

model-specific data

Link copied to clipboard
var userData2: <Error class: unknown class>

model-specific data

Link copied to clipboard
var userData3: <Error class: unknown class>

model-specific data

Functions

Link copied to clipboard
fun copy(): TreeIter

Creates a dynamically allocated tree iterator as a copy of @iter.

Link copied to clipboard
fun free()

Frees an iterator that has been allocated by gtk_tree_iter_copy().

Link copied to clipboard
open override fun toString(): String