Re: [gtkmm] TreeView assertion "has_next" failed



On Mon, 2004-04-19 at 16:17, Tor Arvid Lund wrote:
> On March 27, I submitted a post about this, titled "Updating a custom 
> TreeModel", where I explained that when I add objects to my 
> std::vector<User>, which is the vector holding the actual data to be 
> displayed in the TreeView, nothing happened. It seemed logical that the 
> TreeModel needs to know that the vector has changed its contents, and 
> Christer Palm told me that row_inserted was the function that telling 
> the TreeModel that a new row was available.

Sorry, I didn't notice that you had a custom treemodel. If you have a
custom tree model then it's your job to maintain the internals of the
GtkTreeIter, so you're probably the best person to find out why this
warning appears.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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