Re: Property access

From: Date: Fri, 04 Feb 2005 18:07:39 +0000
Subject: Re: Property access
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-913@lists.php.net to get a copy of this message
On Fri, 04 Feb 2005, Scott Mattocks wrote: > Andrei Zmievski wrote: > >But wait, there's more! > > > >$w = new GtkWindow(); > >$w->mine = 'i am art vandelay'; > >var_dump($w); > > I got PHP-GTK2 to compile with no problems yesterday and simple things > like making a window with a label in it worked perfectly. When I tried > to run some code like the lines above I ran into a problem though. I tried: > > $win = new GtkWindow(); > $win->test = 'TEST'; > $win->show_all(); // Causes the window to be realized > print_r($win); > > gtk::main(); > > When I ran that I got a fatal error message about instantiating an > abstract class GdkWindow. Is that an expected result? var_dump() on $win worked fine for me when I tested. Can you please get rid of all the *.cache and gen_* files and recompile it again? If it persists, I'll take a look. - Andrei

« previous php.gtk.dev (#913) next »