Commit 9ff75882 authored by Paolo Borelli's avatar Paolo Borelli

Explicitely mention -1 in the insert_with_values docs

-1 means "append". Spell it out like we do for ListStore docs.
parent 14e63a73
...@@ -1490,11 +1490,11 @@ gtk_tree_store_insert_after (GtkTreeStore *tree_store, ...@@ -1490,11 +1490,11 @@ gtk_tree_store_insert_after (GtkTreeStore *tree_store,
* @tree_store: A #GtkTreeStore * @tree_store: A #GtkTreeStore
* @iter: (out) (allow-none): An unset #GtkTreeIter to set the new row, or %NULL. * @iter: (out) (allow-none): An unset #GtkTreeIter to set the new row, or %NULL.
* @parent: (allow-none): A valid #GtkTreeIter, or %NULL * @parent: (allow-none): A valid #GtkTreeIter, or %NULL
* @position: position to insert the new row * @position: position to insert the new row, or -1 to append after existing rows
* @...: pairs of column number and value, terminated with -1 * @...: pairs of column number and value, terminated with -1
* *
* Creates a new row at @position. @iter will be changed to point to this * Creates a new row at @position. @iter will be changed to point to this
* new row. If @position is larger than the number of rows on the list, then * new row. If @position is -1, or larger than the number of rows on the list, then
* the new row will be appended to the list. The row will be filled with * the new row will be appended to the list. The row will be filled with
* the values given to this function. * the values given to this function.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment