Method

GtkTreeModelget_string_from_iter

since: 2.2

Declaration [src]

gchar*
gtk_tree_model_get_string_from_iter (
  GtkTreeModel* tree_model,
  GtkTreeIter* iter
)

Description [src]

Generates a string representation of the iter.

This string is a “:” separated list of numbers. For example, “4:10:0:3” would be an acceptable return value for this string.

Available since: 2.2

Parameters

iter

Type: GtkTreeIter

A GtkTreeIter-struct.

The data is owned by the caller of the method.

Return value

Type: gchar*

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

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.