TreeNode

class TreeNode(val glibTreeNodePointer: <Error class: unknown class><<Error class: unknown class>>) : ProxyInstance(source)

An opaque type which identifies a specific node in a #GTree.

Since

2.68

Constructors

Link copied to clipboard
constructor(glibTreeNodePointer: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
val glibTreeNodePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val handle: <Error class: unknown class>

Functions

Link copied to clipboard
open override fun addCleaner(cleaner: <Error class: unknown class>): Boolean

Registers a cleaner to be executed when this proxy object is garbage collected.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare two proxy instances for equality. This will compare both the type of the instances, and their memory addresses.

Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun key(): <Error class: unknown class>?

Gets the key stored at a particular tree node.

Link copied to clipboard
fun next(): TreeNode?

Returns the next in-order node of the tree, or null if the passed node was already the last one.

Link copied to clipboard

Returns the previous in-order node of the tree, or null if the passed node was already the first one.

Link copied to clipboard
open override fun removeCleaner(cleaner: <Error class: unknown class>): Boolean

Removes a previously registered cleaner from this proxy object.

Link copied to clipboard
fun value(): <Error class: unknown class>?

Gets the value stored at a particular tree node.