way. One can convert a path to an iterator by calling
gtk_tree_model_get_iter(). These iterators are the primary way of
accessing a model and are similar to the iterators used by
-#GtkTextBuffer. They are generally statically allocated on the heap and
+#GtkTextBuffer. They are generally statically allocated on the stack and
only used for a short time. The model interface defines a set of
operations using them for navigating the model.
</para>
/* walk the tree to find the iterator */
- gtk_tree_model_get_nth_child (model, &iter, NULL, 3);
+ gtk_tree_model_iter_nth_child (model, &iter, NULL, 3);
parent_iter = iter;
- gtk_tree_model_get_nth_child (model, &iter, &parent_iter, 2);
+ gtk_tree_model_iter_nth_child (model, &iter, &parent_iter, 2);
parent_iter = iter;
- gtk_tree_model_get_nth_child (model, &iter, &parent_iter, 5);
+ gtk_tree_model_iter_nth_child (model, &iter, &parent_iter, 5);
}
</programlisting>
</example>
#GtkTreeView, #GtkTreeStore, #GtkListStore, <link linkend="gtk-GtkTreeView-drag-and-drop">GtkTreeDnd</link>, #GtkTreeSortable
</para>
+<!-- ##### SECTION Stability_Level ##### -->
+
+
<!-- ##### STRUCT GtkTreeModel ##### -->
<para>
</para>
+<!-- ##### SIGNAL GtkTreeModel::row-changed ##### -->
+<para>
+
+</para>
+
+@treemodel: the object which received the signal.
+@arg1:
+@arg2:
+
+<!-- ##### SIGNAL GtkTreeModel::row-deleted ##### -->
+<para>
+
+</para>
+
+@treemodel: the object which received the signal.
+@arg1:
+
+<!-- ##### SIGNAL GtkTreeModel::row-has-child-toggled ##### -->
+<para>
+
+</para>
+
+@treemodel: the object which received the signal.
+@arg1:
+@arg2:
+
+<!-- ##### SIGNAL GtkTreeModel::row-inserted ##### -->
+<para>
+
+</para>
+
+@treemodel: the object which received the signal.
+@arg1:
+@arg2:
+
+<!-- ##### SIGNAL GtkTreeModel::rows-reordered ##### -->
+<para>
+
+</para>
+
+@treemodel: the object which received the signal.
+@arg1:
+@arg2:
+@arg3:
+
<!-- ##### STRUCT GtkTreeIter ##### -->
<para>
The <structname>GtkTreeIter</structname> is the primary structure for
<!-- ##### MACRO gtk_tree_path_new_root ##### -->
<para>
-An alternate name for gtk_tree_path_new_iter() provided for
-compatibility reasons; this macro will be deprecated in future
-versions of GTK+.
+An alternate name for gtk_tree_path_new_first() provided for
+compatibility reasons.
</para>
@Returns: A new #GtkTreePath.
+@Deprecated: Use gtk_tree_path_new_first() instead.
<!-- ##### FUNCTION gtk_tree_path_append_index ##### -->
@Returns:
+<!-- ##### FUNCTION gtk_tree_row_reference_get_model ##### -->
+<para>
+
+</para>
+
+@reference:
+@Returns:
+
+
<!-- ##### FUNCTION gtk_tree_row_reference_get_path ##### -->
<para>
<!-- ##### MACRO gtk_tree_model_get_iter_root ##### -->
<para>
-A alternate name for gtk_tree_model_get_iter_root() provided for
+A alternate name for gtk_tree_model_get_iter_first() provided for
compatibility reasons; this macro will be deprecated in future
versions of GTK+.
</para>
@tree_model:
@path:
@iter:
-<!-- # Unused Parameters # -->
-@start_path:
-@start_iter:
<!-- ##### FUNCTION gtk_tree_model_row_inserted ##### -->
@new_order:
-<!-- ##### SIGNAL GtkTreeModel::row-changed ##### -->
-<para>
-
-</para>
-
-@treemodel: the object which received the signal.
-@arg1:
-@arg2:
-
-<!-- ##### SIGNAL GtkTreeModel::row-deleted ##### -->
-<para>
-
-</para>
-
-@treemodel: the object which received the signal.
-@arg1:
-
-<!-- ##### SIGNAL GtkTreeModel::row-has-child-toggled ##### -->
-<para>
-
-</para>
-
-@treemodel: the object which received the signal.
-@arg1:
-@arg2:
-
-<!-- ##### SIGNAL GtkTreeModel::row-inserted ##### -->
-<para>
-
-</para>
-
-@treemodel: the object which received the signal.
-@arg1:
-@arg2:
-
-<!-- ##### SIGNAL GtkTreeModel::rows-reordered ##### -->
-<para>
-
-</para>
-
-@treemodel: the object which received the signal.
-@arg1:
-@arg2:
-@arg3:
-