Re: Cast Gtk::TreeModel::iterator to int



On Mon, 2009-11-30 at 19:25 +0100, Glus Xof wrote:
> Hello guys,
> 
> A very stupid question... (but I don't find the answer).
> 
> Is it possible to cast a Gtk::TreeModel::iterator value to int (or gint) ???

If that int should be a row number, then you can convert the iter to a
Gtk::TreeModel::Path.


-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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