note 440 deleted from gtk.gtkctree.method.remove_node.php by nlopess
| From: | nlopess@php.net | Date: | Mon, 04 Oct 2004 19:36:16 +0000 |
| Subject: | note 440 deleted from gtk.gtkctree.method.remove_node.php by nlopess | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-2617@lists.php.net to get a copy of this message | ||
To remove an already insert node from an GtkCTree you just have to paste the reference you've
gotten tho the function GtkCTree::remove_node..
For example:
<?php
//Somethin generates the CTree to $ctree
$node = $ctree->insert_node(null, null, array('any node..'), 5, null, null, null, null,
true, false);
$ctree->remove_node($node);
?>
Note: Subnodes of the node you remove will also be removed!