get_text()

From: Date: Fri, 05 Dec 2003 01:54:04 +0000
Subject: get_text()
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4281@lists.php.net to get a copy of this message
-- bradm <bradm@netlinux.com> pass the entry object itself to the function and then use get_text(); you were passing the actual text to the function also try $button->connect_object if you do not need the button object for anything else $button->connect_object('pressed','save_product',$title_field); function save_product($text_field) { echo $text_field->get_text(); } no need to use globals here hope this helps happy code'n brad

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