Put Glade-Files into php-skript ??



hi,

on gtk.php.net is an instruction to paste an glade-file into php skripts to
make the window-creationm process more easier.
I used to do this on an win32 system:
<?

/* cFTP Version 2.0 main */

if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')
{dl('php_gtk.dll');}
else
{dl('php_gtk.so');}

$layout = &new GladeXML('cftp.layout.inc');
$layout->signal_autoconnect();
Gtk::main();

?>

The error is:  Cannot instantitate non-existent class: gladexml

Can someone please help me out here ?

THX

Claus





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]