get_text and get_chars

From: Date: Thu, 04 Dec 2003 04:09:45 +0000
Subject: get_text and get_chars
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4277@lists.php.net to get a copy of this message
Hi, I have made some fields and connected a action on my save button. $button->connect('pressed','save_product',$title_field->get_text()); function save_product($obj,$title) { echo $title; } Always return me the original Text that i have set by default and not the modified one by the user. Any ideas why ? The work around that i found is to make $title_field global. function save_product($obj) { echo $title->get_text(); } Thanks Yann

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