docs: Clarify position of gtk_list_store_insert_with_values()

https://bugzilla.gnome.org/show_bug.cgi?id=612283
This commit is contained in:
David King 2012-02-20 09:59:45 +00:00
parent c84d58ce1b
commit 9a732c40fc

View File

@ -2171,12 +2171,13 @@ gtk_list_store_has_default_sort_func (GtkTreeSortable *sortable)
* gtk_list_store_insert_with_values: * gtk_list_store_insert_with_values:
* @list_store: A #GtkListStore * @list_store: A #GtkListStore
* @iter: (out) (allow-none): An unset #GtkTreeIter to set to the new row, or %NULL * @iter: (out) (allow-none): An unset #GtkTreeIter to set to the new row, 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 new * 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 the * row. If @position is -1, or larger than the number of rows in the list, then
* new row will be appended to the list. The row will be filled with the * the new row will be appended to the list. The row will be filled with the
* values given to this function. * values given to this function.
* *
* Calling * Calling