Re: Trees

From: Date: Fri, 07 Mar 2003 14:30:59 +0000
Subject: Re: Trees
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3077@lists.php.net to get a copy of this message
On Fri, 7 Mar 2003, Andrew Smith wrote: > Hi > > GtkTree is quite limited, lacking features like indenting, recursive > deselecting etc... (unless someone can help me implement those?). > > GtkCTree is far more powerful, but I have still not been able to handle one > major shortfall - I can't seem to assign data to a tree node. For example: > > > $node=$ctree->insert_node(null, null, array("Top Tree"),5, null, null, > null,null, false,false); > $node->set_data("id",99); Have a look at node_set_text() node_set_pixmap() node_set_pixtext() I think those are the functions you're looking for. http://gtk.php.net/manual/en/gtk.gtkctree.php --rdp Rich Payne http://talisman.mv.com rdp at talisman dot mv dot com

« previous php.gtk.general (#3077) next »