Method

Gtk.TreePath.to_string

Declaration [src]

char*
gtk_tree_path_to_string (
  GtkTreePath* path
)

Description [src]

Generates a string representation of the path.

This string is a “:” separated list of numbers. For example, “4:10:0:3” would be an acceptable return value for this string. If the path has depth 0, NULL is returned.

Return value

Returns: char*

A newly-allocated string. Must be freed with g_free().

Ownership of the data is transferred to the caller
Can be NULL
The string is a NUL terminated UTF-8 string