Re: Fatal error: Call to undefined method Gdk::screen_width()

From: Date: Thu, 20 Mar 2008 15:57:44 +0000
Subject: Re: Fatal error: Call to undefined method Gdk::screen_width()
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8218@lists.php.net to get a copy of this message
David wrote: > I have the php-gtk-2.0.0 Windows binary pack - 29-Feb-2008 installed > with PHP 5.2.5 > > I am getting the error "Fatal error: Call to undefined method > Gdk::screen_width()" > > I am using code from Pro PHP-GTK by Scott Mattocks downloaded from his > website. In any of the scripts that perform a Gdk::screen_width() I get > the above error. I have the location of php-gtk2 in my path statement. > > Please help me with this problem. > > Thanks > > David Hurley > Unfortunately Scott's book was written for an alpha version of php-gtk2 and there have been API changes since then. If you have more issues like this, please check the documentation. Thanks, Elizabeth

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