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



2009/12/1 Murray Cumming <murrayc murrayc com>:
> 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.
>

Sorry Mr. Cumming, I don't reach to see for the moment what you
suggest... I'd need the row number as an int (or gint) value, not as a
Gtk::TreeModel::Path...

Glus


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