Method

Gtk.TreeModelSort.iter_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 GtkTreeIter
 

A GtkTreeIter.

 Ownership is not transferred to the callee

Return value

Returns: gboolean

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