insert


Description:

[ Version ( since = "2.44" ) ]
public void insert (uint position, Object item)

Inserts item into this at position.

item must be of type item_type or derived from it. position must be smaller than the length of the list, or equal to it to append.

This function takes a ref on item.

Use splice to insert multiple items at the same time efficiently.

Parameters:

this

a ListStore

position

the position at which to insert the new item

item

the new item