Re: TreeModel vfuncs: iter_children() and iter_nth_child()



On Sun, 2004-04-04 at 07:01, Murray Cumming wrote:
> I'm going to assume that I'm right about this.
> > But
> >   model->iter_children(iter, parent)
> > seems to give the same result as
> >   model->iter_nth_child(iter, parent, 0 /* n */)
> > 
> > Are these actually equivalent?

I'm not *the* treeview expert, but this seems to be correct.  At least
the implementations of GtkTreeModel inside GTK+ do follow these
semantics.

  Federico




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