while (true) { TreeIter item = this.listStore.getIter("0"); if (item == null) break; this.listStore.removeRow(item); }