Re: TreeModel selected row number

2005-03-22 Thread John Taber
On Tuesday 22 March 2005 03:41, Murray Cumming wrote: Yes, I think it's that difficult. But the row number should not be useful anyway, because the TreeModel is iterator based. It's the same as wanting to get the numerical index of a std::list. It is actually very useful if the tree is being

Re: TreeModel selected row number

2005-03-22 Thread Murray Cumming
On Tue, 2005-03-22 at 18:43 +0100, Murray Cumming wrote: currently I think this would have to be done: std::string color = row[menuColums.color] if (color == blue) {...} //if I want to key to somethingelse have to find index of blue An id column will do the same, I think. I also