Problems with node_get_text()
| From: | epplestun | Date: | Mon, 15 Dec 2003 18:24:53 +0000 |
| Subject: | Problems with node_get_text() | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4296@lists.php.net to get a copy of this message | ||
Hi
I have a small problem with the method node_get_text(GTKCTREENODE,
INTERGER), I have this code:
$this->widget['tools'] -> connect('tree_select_row', array(&$this,
'__buttonPressEventCallback'));
function __buttonPressEventCallback() {
$node = $this->widget['tools'] -> selection;
echo $this->widget['tools'] ->node_get_text($node[0], 1);
}
The function return this:
Warning: node_get_text() cannot get text value in
/root/Proyectos/DikodeCA/dikodeca.php on line 145
Why this warning?¿ Is very extrange because in other applications I use
the same code and works perfectly ....
Regards
Ivan Rodriguez