Re: another class question/problem
| From: | Rich Payne | Date: | Tue, 06 Mar 2001 02:29:27 +0000 |
| Subject: | Re: another class question/problem | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-372@lists.php.net to get a copy of this message | ||
OK, attached are two files that show the problem. If you comment out the
creation of the button in add.php then it all works fine, but if the
button gets created them it return a GtkButton instead of a GtkEntry from
get_text_entry.
Just run the main.php and click on the add button.
Hope it helps.
--rdp
On Mon, 5 Mar 2001, Andrei Zmievski wrote:
> At 09:04 PM 3/5/01 -0500, Rich Payne wrote:
>
> >Not sure what you mean...but I changed the get_text_entry function to:
> >
> > function get_text_entry() {
> > var_dump($this->$name_entry);
> > return $this->$name_entry->get_text();
> > }
> >
> >now a var_dump at this point returns a gtkbutton and get_text is
> >undefined,
>
> Can you send me a complete simplified example that still exhibits this problem?
>
>
> -Andrei
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org