Method

GtkTreeModelSortiter_is_valid

Declaration [src]

gboolean
gtk_tree_model_sort_iter_is_valid (
  GtkTreeModelSort* tree_model_sort,
  GtkTreeIter* iter
)

Description [src]

This function is slow. Only use it for debugging and/or testing purposes.

Checks if the given iter is a valid iter for this GtkTreeModelSort.

Parameters

iter

Type: GtkTreeIter

A GtkTreeIter

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the iter is valid, FALSE if the iter is invalid.