Subclass Gtk::TreeModel



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]