What's this:
I mean, it looks like a struct definition, but what is the significance of the ": public Gtk::TreeModelColumnRecord"? (which a Gtk::TreeModelColumnRecord is not a struct...)Code:class DemoTree : public Gtk::TreeView { private: struct Columns : public Gtk::TreeModelColumnRecord { Gtk::TreeModelColumn<Glib::ustring> column1; Gtk::TreeModelColumn<Glib::ustring> color; Columns() { add(column1);add(color); } }; Columns columns;