ListStore.insert

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 ListStore.set or ListStore.setValue.

class ListStore
void
insert

Parameters

iter TreeIter

An unset gtk.TreeIter to set to the new row

position int

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