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

I'm going to assume that I'm right about this.

On Mon, 2004-03-08 at 12:09, Murray Cumming wrote:
> GtkTreeModel has both iter_children()
> and iter_nth_child()
> callbacks:
> 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? Is there any reason for the vfunc 
> implementation to be duplicated in custom TreeModels, or can one 
> just call the other?
Murray Cumming
murrayc murrayc com

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