Lines Matching defs:iter

24 static gboolean ast_get_iter(GtkTreeModel *tree_model, GtkTreeIter *iter,
26 static GtkTreePath *ast_get_path(GtkTreeModel *tree_model, GtkTreeIter *iter);
27 static void ast_get_value(GtkTreeModel *tree_model, GtkTreeIter *iter,
29 static gboolean ast_iter_next(GtkTreeModel *tree_model, GtkTreeIter *iter);
31 GtkTreeIter *iter,
33 static gboolean ast_iter_has_child(GtkTreeModel *tree_model, GtkTreeIter *iter);
34 static gint ast_iter_n_children (GtkTreeModel *tree_model, GtkTreeIter *iter);
35 static gboolean ast_iter_nth_child(GtkTreeModel *tree_model, GtkTreeIter *iter,
38 GtkTreeIter *iter,
68 gboolean ast_set_iter(GtkTreeIter *iter, AstNode *node)
70 iter->user_data = node;
71 iter->user_data2 = iter->user_data3 = NULL;
208 * tree iter is valid as long as the row in question
252 * tree iter structure (the content of the iter
255 * structure that represents that row in the tree iter.
261 GtkTreeIter *iter,
275 return ast_set_iter(iter, node);
281 * ast_get_path: converts a tree iter into a tree path (ie. the
288 GtkTreeIter *iter)
292 AstNode *node = AST_NODE(iter->user_data);
312 GtkTreeIter *iter,
316 AstNode *node = iter->user_data;
332 * ast_iter_next: Takes an iter structure and sets it to point
339 GtkTreeIter *iter)
341 AstNode *node = iter->user_data;
346 return ast_set_iter(iter, node);
354 * If it has children, then 'iter' is set to
363 GtkTreeIter *iter,
366 return ast_iter_nth_child(tree_model, iter, parent, 0);
373 * the row specified by 'iter' has any children.
380 GtkTreeIter *iter)
382 AstNode *node = iter->user_data;
391 * specified by 'iter' has. This is usually 0,
394 * when 'iter' is NULL, in which case we need
402 GtkTreeIter *iter)
404 AstNode *node = iter ? iter->user_data
415 * children, set 'iter' to the n-th child and
418 * which case we need to set 'iter' to the n-th
425 GtkTreeIter *iter,
433 iter->user_data = g_array_index(array, AstNode *, n);
440 * ast_iter_parent: Point 'iter' to the parent node of 'child'. As
448 GtkTreeIter *iter,
452 iter->user_data = node->parent;