Subclass Gtk::TreeModel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Subclass Gtk::TreeModel

Jens Krause

I understand that one can implement custom TreeModels (to replace
Gtk::ListStore and Gtk::TreeStore). Can this be done by deriving
from Gtk::TreeModel? Do you have a tutorial on this subject.
What would be the skeleton of such a derived class?

class myModel : public  Gtk::TreeModel{ 

 Gtk::TreeModelFlags  get_flags_vfunc () const;

//.... and other vfuncs


Thanks for any hints.


gtkmm-list mailing list
[hidden email]