Re: tree iter differences?



> what is the difference between Gtk::TreeModel::iterator and GtkTreeIter..

GtkTreeIter is a C struct. Gtk::TreeModel::iterator is a C++ class that
wraps that struct and gives a nice API.

Maybe you mean Gtk::TreeIter. Gtk::TreeModel::iterator is a typedef to
Gtk::TreeIter.

> and secondly. WHY is there a difference?
>
> i thought it was just a typedef so its easier to type, but i get errors
> about not being able to convert between them

For example?

[snip]


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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