Re: GtkImage

From: Date: Fri, 10 Feb 2006 09:53:13 +0000
Subject: Re: GtkImage
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6700@lists.php.net to get a copy of this message
> $window =& new GtkWindow(); No, no, no! No ampersand in php5! > $image = new GtkImage(); > $widget = $image->new_from_file("test.jpg"); That's wrong. new_from_file is a static method, thus it has to be $widget = GtkImage::new_from_file("test.jpg"); > the instruction at "0x7847d45a" use memory adress "0x019636c0". Memory > can't be "read" Maybe the correction up there fixes that. -- Regards/MfG, Christian Weiske

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.general (#6700) next »