TreeStore.insertAfter

void insertAfter(out gtk.tree_iter.TreeIter iter, gtk.tree_iter.TreeIter parent = null, gtk.tree_iter.TreeIter sibling = null)

Inserts a new row after sibling.

If sibling is null, then the row will be prepended to parent’s children.

If parent and sibling are null, then the row will be prepended to the toplevel.

If both sibling and parent are set, then parent must be the parent of sibling. When sibling is set, parent is optional.

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

iterAn unset [gtk.tree_iter.TreeIter] to set to the new row
parentA valid [gtk.tree_iter.TreeIter]
siblingA valid [gtk.tree_iter.TreeIter]

Deprecated

Use [gtk.tree_list_model.TreeListModel] instead