TreeModel vfuncs: iter_children() and iter_nth_child()
- From: Murray Cumming <murrayc murrayc com>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: TreeModel vfuncs: iter_children() and iter_nth_child()
- Date: Mon, 08 Mar 2004 12:09:49 +0100
GtkTreeModel has both iter_children()
http://cvs.gnome.org/lxr/source/gtk+/gtk/gtktreemodel.h#99
and iter_nth_child()
http://cvs.gnome.org/lxr/source/gtk+/gtk/gtktreemodel.h#106
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
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]