Package: gtk

Function gtk:list-store-insert

Lambda List

gtk:list-store-insert (model pos)

Arguments

model -- a gtk:list-store object
pos -- an integer with the position to insert the new row

Return Value

The gtk:tree-iter iterator of the new row.

Details

Creates a new row at pos. The returned iterator will point to this new row. If the pos argument is larger than the number of rows on the list, then the new row will be appended to the list. The row will be empty after this function is called. To fill in values, you need to call the gtk:list-store-set or gtk:list-store-set-value functions.

Warning

The gtk:list-store implementation is deprecated since 4.10. Use the g:list-store object instead.
 

See also

2024-4-7