Started on libglade and hit trouble
| From: | Steph | Date: | Sun, 16 Oct 2005 19:51:00 +0000 |
| Subject: | Started on libglade and hit trouble | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-1842@lists.php.net to get a copy of this message | ||
I've tried several different construction methods, but I'm always seeing the
same results, although the Glade widget itself (if I don't call get_widget()
on it) appears fine. Any idea what I'm missing?
C:\php5>cat gladetest.php
<?php
$glade = new GladeXML('glade2.glade');
var_dump($glade);
$window = $glade->get_widget('window1');
var_dump($window);
gtk::main();
?>
C:\php5>php gladetest.php
object(GladeXML)#1 (0) {
}
Fatal error: Internal object missing in GladeXML wrapper in
C:\php5\gladetest.php on line 6