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
Hi,

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{ 

public:
 Gtk::TreeModelFlags  get_flags_vfunc () const;

//.... and other vfuncs

};

Thanks for any hints.

Regards

Jens
_______________________________________________
gtkmm-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtkmm-list