TreePath

class TreePath(val gtkTreePathPointer: <Error class: unknown class><<Error class: unknown class>>)

An opaque structure representing a path to a row in a model.

Skipped during bindings generation

  • parameter depth: depth: Out parameter is not supported

  • parameter indices: Array parameter of type gint is not supported

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkTreePathPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
fun appendIndex(index: <Error class: unknown class>)

Appends a new index to a path.

Link copied to clipboard
fun compare(b: TreePath): <Error class: unknown class>

Compares two paths.

Link copied to clipboard
fun copy(): TreePath

Creates a new GtkTreePath as a copy of @path.

Link copied to clipboard
fun down()

Moves @path to point to the first child of the current path.

Link copied to clipboard
fun free()

Frees @path. If @path is null, it simply returns.

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

Returns the current depth of @path.

Link copied to clipboard
fun isAncestor(descendant: TreePath): Boolean

Returns true if @descendant is a descendant of @path.

Link copied to clipboard
fun isDescendant(ancestor: TreePath): Boolean

Returns true if @path is a descendant of @ancestor.

Link copied to clipboard
fun next()

Moves the @path to point to the next node at the current depth.

Link copied to clipboard
fun prependIndex(index: <Error class: unknown class>)

Prepends a new index to a path.

Link copied to clipboard
fun prev(): Boolean

Moves the @path to point to the previous node at the current depth, if it exists.

Link copied to clipboard

Generates a string representation of the path.

Link copied to clipboard
fun up(): Boolean

Moves the @path to point to its parent node, if it has a parent.