insert_before


Description:

public void insert_before (out TreeIter iter, TreeIter? parent, TreeIter? sibling)

Inserts a new row before sibling.

Note:

Use [class@Gtk.TreeListModel] instead

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

If parent and sibling are null, then the row will be appended 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 @set or set_value.

Parameters:

this

A `GtkTreeStore`

iter

An unset `GtkTreeIter` to set to the new row

parent

A valid `GtkTreeIter`

sibling

A valid `GtkTreeIter`