gtkListStoreInsertWithValues {RGtk2} | R Documentation |
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
new row will be appended to the list. The row will be filled with the
values given to this function.
gtkListStoreInsertWithValues(object, position, ...)
|
[GtkListStore ] A GtkListStore |
|
[integer] position to insert the new row |
|
pairs of column number and value, terminated with -1 |
Calling
gtk_list_store_insert_with_values(list_store, iter, position...)
has the same effect as calling
list_store$insert(iter, position) list_store$set(iter, ...)with the difference that the former will only emit a row_inserted signal, while the latter will emit row_inserted, row_changed and, if the list store is sorted, rows_reordered. Since emitting the rows_reordered signal repeatedly can affect the performance of the program,
gtkListStoreInsertWithValues
should generally be preferred when
inserting rows in a sorted list store.
Since 2.6
A list containing the following elements:
|
[GtkTreeIter ] An unset GtkTreeIter to set to the new row, or NULL . |
Derived by RGtkGen from GTK+ documentation