ListStore.insert

void insert(out gtk.tree_iter.TreeIter iter, int position)

Creates a new row at position. iter will be changed to point to this new row. If position is -1 or 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 [gtk.list_store.ListStore.set] or [gtk.list_store.ListStore.setValue].

Parameters

iterAn unset [gtk.tree_iter.TreeIter] to set to the new row
positionposition to insert the new row, or -1 for last

Deprecated

Use list models