TreeStore.prepend

Creates and prepends a new row to tree_store. If parent is non-NULL, then it will prepend the new row before the first child of parent, otherwise it will prepend a row to the top level. iter 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 TreeStore.set or TreeStore.setValue.

  1. TreeIter prepend(TreeIter parent)
    class TreeStore
  2. void prepend(TreeIter iter, TreeIter parent)

Parameters

parent TreeIter

A valid GtkTreeIter, or NULL