On Wed, 2006-05-17 at 09:49 +0200, Murray Cumming wrote: > [snip] > > Actually, I wonder if it is possible that gtkmm provide custom model > > implementation. Developer should just provide data container class > > derived from some Gtk::virtual-base class and reimplement methods to > > get/set data from/to your container by given Gtk::TreeModelPath or > > Gtk::TreeIter, and column index/reference, and methods to sort data if > > needed. Just there is too much code you should rewrite for your custom > > model now. > > This would be cool. It would be best to attempt it outside of gtkmm first.
even cooler if it actually derived from some STL abstract type, so that those of us (and i am sure there are many) who typically have our Model stored as std::SomeSTLContainerType<SomeApplicationType*> can easily use it. --p _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list