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

From: Date: Sun, 02 May 2010 05:09:13 +0000
Subject: Re: Fatal error: Call to undefined method Gdk::screen_width()
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8493@lists.php.net to get a copy of this message
Elizabeth M Smith wrote: > > David wrote: >> I am getting the error "Fatal error: Call to undefined method >>... >> Gdk::screen_width()" >> 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 > Thanks for the pointer. I was having the same problem. However the documentation (which it says was Last updated: Sun, 02 May 2010) seems to be misleading too: http://gtk.php.net/manual/en/gdk.functions.php Static Gdk methods. ... screen_height() Returns the height of the screen in pixels. ... I found the best answer here: http://www.kksou.com/php-gtk2/articles/get-the-size-of-display-screen.php -- View this message in context: http://old.nabble.com/Fatal-error%3A-Call-to-undefined-method-Gdk%3A%3Ascreen_width%28%29-tp16172387p28424872.html Sent from the Php - GTK - General mailing list archive at Nabble.com.

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