GtkEntry

From: Date: Fri, 21 Dec 2001 15:29:40 +0000
Subject: GtkEntry
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-899@lists.php.net to get a copy of this message
I made the following changes reccommend, added a var_dump and $widget paramater to fill_entry. function fill_entry($widget,$dbox){ var_dump($dbox); $dbox->set_text("Data Chosen"); } ... $frame3 = &new GtkFrame(); $box1->pack_start($frame3,false); $fw_data_box = &new GtkEntry(); $frame3->add($fw_data_box); $fw_data_box->set_text("TEST"); ... clist->connect('select-row','fill_entry',&$fw_data_box); I am getting int(0) Fatal_error: Call to a member function on a non-object in c:\gui.php on line 30 Line 30 is the set_text() line in function fill_entry

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