Re: an easy one...ctree question

From: Date: Mon, 14 May 2001 16:55:22 +0000
Subject: Re: an easy one...ctree question
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1830@lists.php.net to get a copy of this message
On Mon, 14 May 2001, Rich Payne wrote: > > OK, so after my last problem this should be an easy one :) > Can anyone tell me what I'm doing wrong, the node_get_text fails on the > 1st column, but return the correct value if I click on the same row, but > the 2nd column. (the error for the 1st > is:<b>Warning</b>: node_get_text() cannot get text value in > <b>test.php</b> on line <b>24</b>) Ok, the problem is that the firstcolumn is a pixtext column by default, since it contains icons for the ctree (even if you did not specify them, it's still a pixtext column). So, instead of using node_get_text() you should be using node_get_pixtext(), but I haven't implemented that one yet. ;-) Soon, I hope. -Andrei Commitment, n.: Commitment can be illustrated by a breakfast of ham and eggs. The chicken was involved, the pig was committed.

« previous php.gtk (#1830) next »