TreePath.newFromString

Creates a new gtk.tree_path.TreePath initialized to path.

path is expected to be a colon separated list of numbers. For example, the string “10:4:0” would create a path of depth 3 pointing to the 11th child of the root node, the 5th child of that 11th child, and the 1st child of that 5th child. If an invalid path string is passed in, null is returned.

class TreePath
static
newFromString
(
string path
)

Parameters

path string

The string representation of a path

Return Value

Type: gtk.tree_path.TreePath

A newly-created gtk.tree_path.TreePath