TreeModel vfuncs: iter_children() and iter_nth_child()

GtkTreeModel has both iter_children()
and iter_nth_child()

  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]