Re: another class question/problem

From: Date: Tue, 06 Mar 2001 01:31:39 +0000
Subject: Re: another class question/problem
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-364@lists.php.net to get a copy of this message
Hmmm..... [rdp@yeoman sysman]$ php main.php X-Powered-By: PHP/4.0.5-dev Content-type: text/html object(gtkbutton)(1) { [0]=> int(28) } <br> <b>Fatal error</b>: Call to undefined function: get_text() in <b>main.php</b> on line <b>49</b><br> gtkbutton?? php-gtk was checked out of CVS today at about 7:00pm EST. --rdp On Mon, 5 Mar 2001, Andrei Zmievski wrote: > At 06:56 PM 3/5/01 -0500, Rich Payne wrote: > > >So I thought I understood this....but it seems I don't. If I use the same > >code to return a GtkEntry, then do a get_text() on the return value I get: > > > >Call to undefined function: get_text() in <b>main.php</b> on line > ><b>48</b><br> > > > >The offending lines: > > > ><47> $te=$add_sys_window->get_text_entry(); > ><48> $temp=$te->get_text(); > > Can you do var_dump($te) and let us know what you get? > > > -Andrei > > > -- Rich Payne rpayne@alphalinux.org www.alphalinux.org

« previous php.gtk (#364) next »