Package: gtk
Function gtk-list-store-insert-with-values
Lambda Listgtk-list-store-insert-with-values (store position &rest values) ArgumentsReturn ValueA gtk-tree-iter iterator to the new row. Details Creates a new row at position. The returned iterator will point to this new row. If position is -1, or
larger than the number of rows in the list, then the new row will be appended
to the list. The row will be filled with the values given to this function. Calling the function gtk-list-store-insert-with-values has the same effect as calling (let ((iter (gtk-list-store-insert list-store position))) (gtk-list-store-set list-store 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" signals. Since emitting the "rows-reordered" signal repeatedly can affect the performance of the program, the function gtk-list-store-insert-with-values should generally be preferred when inserting rows in a sorted list store. | See also |
2021-3-11