Re: libglade does not work fine
| From: | Andrei Zmievski | Date: | Wed, 14 Mar 2001 21:03:04 +0000 |
| Subject: | Re: libglade does not work fine | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-883@lists.php.net to get a copy of this message | ||
On Wed, 14 Mar 2001, Jan Lehnardt wrote:
> 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?
Yep.
$foo = &new GladeXML('glade.xml');
-Andrei
Programming X-Windows is like trying to find
the square root of pi using roman numerals.
- Unknown