<p>I always got an error like this "Fatal error: Cannot instantiate non-existent class: gtkwindow in /home/lars/stuff/php-gtk-scripts/callbacks.php on line 14", when trying the examples.</p>
<p>The solution for me was to add the following line at the beginning of the script:</p>
dl( 'php_gtk.so' ) || die( 'Unable to load php_gtk module! YOU BROKE ME!n' );
<p>
But don't ask me why this works and what it actually does, cause I just slipped over php-gtk yesterday...
</p>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.