Package: gtk

Function gtk-tree-store-insert

Lambda List

gtk-tree-store-insert (store parent position)

Arguments

store -- a gtk-tree-store object
parent -- a valid gtk-tree-iter iterator, or nil
position -- an integer with the position to insert the new row

Return Value

A gtk-tree-iter iterator to the new row.

Details

Creates a new row at position. If parent is non-nil, then the row will be made a child of parent. Otherwise, the row will be created at the toplevel. If position is larger than the number of rows at that level, then the new row will be inserted to the end of the list. The returned iterator point to this new row. The row will be empty after this function is called. To fill in values, you need to call the functions gtk-tree-store-set or gtk-tree-store-set-value.
 

See also

2021-3-11