Re: Gtk-CRITICAL gtkbin.c: line 217

From: Date: Fri, 14 Jun 2002 13:45:10 +0000
Subject: Re: Gtk-CRITICAL gtkbin.c: line 217
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2124@lists.php.net to get a copy of this message
On 14 Jun 2002, Miles Phillips wrote: > First off thanks for the suggestions all. Not seeming to have much luck > with this one though. > I think I'm just lacking some fundamental knowledge that I maybe should > have on doing this. I'm going to just paste the effected code in here, > and let anyone who's willing to hack away at it. > I've tried the remove, not sure of syntax, but I think this is right, > right before the $box=&new gtkVbox line... > $wdwMatch->remove($box) Where was $box created? You've haven't defined that as Global (as far as I can tell) so $box is a null. > It says remove expects 1 argument but null is given. > If I use $wdwMatch->$box->destroy() it says Fatal Error: Class > 'GtkWindow' does not support overloaded method calls. IIRC, the zend engine can't handle that. You'll need a $wdwMatch_box = $wdwMatch->box; $wdwMatch_box->destroy(); but again, I don't see where $box was originally created. --rdp

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