I'm currently doing this to add numCols
columns to a TreeView (ColumnRecord columns
):
Gtk::TreeModelColumn<Glib::ustring>* c;
for( int i = 0; i < numCols; i++ ) {
c = new Gtk::TreeModelColumn<Glib::ustring>();
columns.add(*c);
list.append_column(titles[i], *c);
iss.clear();
}
To get an element at a certain row and column with a preset ColumnRecord, I would do something like Gtk::TreeModel::Row row; row[columns.c1] = blah
. Now that the columns aren't named however, how will I access them?