Method

GtkTreeModelget_iter_from_string

Declaration [src]

gboolean
gtk_tree_model_get_iter_from_string (
  GtkTreeModel* tree_model,
  GtkTreeIter* iter,
  const gchar* path_string
)

Description [src]

Sets iter to a valid iterator pointing to path_string, if it exists. Otherwise, iter is left invalid and FALSE is returned.

Parameters

iter

Type: GtkTreeIter

An uninitialized GtkTreeIter-struct.

The argument will be set by the function.
The returned data is owned by the instance.
path_string

Type: const gchar*

A string representation of a GtkTreePath-struct.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE, if iter was set.