Re: Property access
| From: | Scott Mattocks | Date: | Fri, 04 Feb 2005 13:26:27 +0000 |
| Subject: | Re: Property access | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-912@lists.php.net to get a copy of this message | ||
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 realizedprint_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? Thanks, -- Scott Mattocks scott@crisscott.com http://www.crisscott.com