Re: Glade current status?
| From: | Andrei Zmievski | Date: | Sun, 30 Oct 2005 01:12:36 +0000 |
| Subject: | Re: Glade current status? | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1979@lists.php.net to get a copy of this message | ||
On Oct 17, 2005, at 11:10 PM, Jeremy Johnstone wrote:
Test.php: <?php define("FILESYSTEM_PATH", dirname(__FILE__)); echo $glade_xml = file_get_contents(FILESYSTEM_PATH . '/test_project.glade'); $window =& new GladeXML($glade_xml, strlen($glade_xml), NULL, NULL);Please don't use "=& new" in PHP-GTK 2. Secondly, the GladeXML() constructor signature has changed. I adjusted the sample to use the correct signature and the window came up for me. Try again please. - Andrei