Method

Gtk.ListStore.insert

Declaration [src]

void
gtk_list_store_insert (
  GtkListStore* list_store,
  GtkTreeIter* iter,
  int position
)

Description [src]

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_set() or gtk_list_store_set_value().

Parameters

iter GtkTreeIter
 

An unset GtkTreeIter to set to the new row

 Direction: out
 Ownership is not transferred to the callee
position int
 

position to insert the new row, or -1 for last