libglade does not work fine
| From: | Jan Lehnardt | Date: | Wed, 14 Mar 2001 21:01:03 +0000 |
| Subject: | libglade does not work fine | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-882@lists.php.net to get a copy of this message | ||
Hi,
when using libglade with this script it always gives me this error. i
tried serveral glade xml files. always the same.
<b>Warning</b>: Could not translate enum value 'glade.xml' in
<b>glade.php</b> on line <b>3</b><br>
My 'script':
<?php
dl('php_gtk.so');
$foo = &new GtkWindow("glade.xml");
/* Run the main loop. */
Gtk::main();
?>
Any ideas?
Jan
--
I am running lastest php (from snaps.php.net) and lastest cvs from
php-gtk. libglade 0.16 and gtk 1.2.8 on FreeBSD 4.2-stable.