Patch for GtkTreeModel::iter_children()
| From: | Markus Fischer | Date: | Sun, 22 May 2005 07:45:33 +0000 |
| Subject: | Patch for GtkTreeModel::iter_children() | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-1315@lists.php.net to get a copy of this message | ||
Hi,
I changed the calling semantics form
http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#gtk-tree-model-iter-children
to
$retval = $model->iter_children($parent);
if $parent is null, $retval is the first path in the tre.
if $parent is an iter an is found and has children, $retval is set to
the first child. If there's no child or the iter is not valid, false is
returned.
- Markus