Method

GtkTreeModelget_path

Declaration [src]

GtkTreePath*
gtk_tree_model_get_path (
  GtkTreeModel* tree_model,
  GtkTreeIter* iter
)

Description [src]

Returns a newly-created GtkTreePath-struct referenced by iter.

This path should be freed with gtk_tree_path_free().

Parameters

iter

Type: GtkTreeIter

The GtkTreeIter-struct.

The data is owned by the caller of the method.

Return value

Type: GtkTreePath

A newly-created GtkTreePath-struct.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.