Re: GtkDialog Part 2

From: Date: Mon, 23 Jul 2001 21:33:45 +0000
Subject: Re: GtkDialog Part 2
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2327@lists.php.net to get a copy of this message
On Sun, 22 Jul 2001, Rich Payne wrote: > > If I do that then I get: > > <br> > <b>Fatal error</b>: Class 'compose_window' does not support overloaded > method calls in <b>/home/rdp/rdp_projects/teak/compose_class.php</b> on > line <b>61</b><br> > > which comes from this line: > > $this->send_button->add($send_box); > > $send_box is just a GtkHbox. This is currently a limitation of the Zend engine. Basically, there is no way to invoke a function on a class property that is part of the overloaded property chain. You'd have to do this: $send_button = $this->send_button; $send_button->add($send_box); -Andrei * What were the first 15 billion years of the universe like for you? *

« previous php.gtk (#2327) next »