TreeStore.insert
void insert(out gtk.tree_iter.TreeIter iter, gtk.tree_iter.TreeIter parent, int position)Creates a new row at position.
If parent is non-null, then the row will be made a child of parent. Otherwise, the row will be created at the toplevel.
If position is -1 or is larger than the number of rows at that level, then the new row will be inserted to the end of the list.
The iter parameter will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call [gtk.tree_store.TreeStore.set] or [gtk.tree_store.TreeStore.setValue].
Parameters
iter | An unset [gtk.tree_iter.TreeIter] to set to the new row |
parent | A valid [gtk.tree_iter.TreeIter] |
position | position to insert the new row, or -1 for last |
Deprecated
Use [gtk.tree_list_model.TreeListModel] instead