Package: gio

Function g-list-store-insert

Lambda List

g-list-store-insert (store position item)

Arguments

store -- a g-list-store object
position -- an unsigned integer with the position at which to insert the new item
item -- a g-object object with the new item

Details

Inserts the item into the list store at position. The item must be of type item-type type or derived from it. The position argument must be smaller than the length of the list store, or equal to it to append.

This function takes a ref on item.

Use the g-list-store-splice function to insert multiple items at the same time efficiently.
 

See also

2021-12-10