Package: gtk

Function gtk:tree-store-prepend

Lambda List

gtk:tree-store-prepend (store parent)

Arguments

store -- a gtk:tree-store object
parent -- a valid gtk:tree-iter iterator, or nil

Return Value

The gtk:tree-iter iterator.

Details

Prepends a new row to store. If parent is non-nil, then it will prepend the new row before the first child of parent, otherwise it will prepend a row to the toplevel. 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 gtk:tree-store-set or gtk:tree-store-set-value functions.

Warning

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

See also

#2024-5-16