Re: New binaries for Win32 with libGlade
| From: | Steph | Date: | Fri, 12 Oct 2001 16:11:14 +0000 |
| Subject: | Re: New binaries for Win32 with libGlade | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-102@lists.php.net to get a copy of this message | ||
I'm getting same, people ...
<b>Fatal error</b>: Call to undefined function: get_widget() in <b>C:\php4\dev
\gladefirst.php</b> on line <b>6</b><br />
C:\php4\dev\gladefirst.php has been running
full script for gladefirst.php follows:
<?
dl( 'php_gtk.' . (strstr(PHP_OS, 'WIN') ? 'dll' : 'so'));
$glade = &new GladeXML("C:\WINDOWS\Desktop\php-gtk
releases\glade-0.5.7\bin\playing\first.glade");
$window = $glade->get_widget("window1");
$window->connect_object('destroy', array('gtk', 'main_quit'));
$window->show();
Gtk::main();
?>
----- Original Message -----
From: "Alan Knowles" <alan_k@hklc.com>
To: "Frank M. Kromann" <frank@frontbase.com>
Cc: <php-gtk-dev@lists.php.net>
Sent: Friday, October 12, 2001 8:54 AM
Subject: Re: [PHP-GTK-DEV] New binaries for Win32 with libGlade
This is a win98 (pretty clean) with the latest binaries, running under
vmware.
I'm getting the output below from get_widget
C:\WINDOWS\Desktop\phpmole\phpmole>C:\php4\php phpmole.php
X-Powered-By: PHP/4.0.8-dev
Content-type: text/html
O:8"GladeXML":1{i:0;i;2;}<br />
<b>Fatal error</b>: Call to undefined function: get_widget() in
<b>C:\WINDOWS\Desktop\phpmole\phpmole\phpmole.php</b> on line
<b>106</b><br />
102> $gx = &new
GladeXML("c:\\WINDOWS\\Desktop\\phpmole\\phpmole\\glade\\gtkmidgard.glade");
103> echo serialize($gx);
104> // $gx = &new GladeXML(APPDIR ."glade/gtkmidgard.glade");
105> // get the text element and replace it with
106> $window = $gx->get_widget("winmain");
It also has a nasty habit of hanging windows98 in vmware... - the zip
file seemed only to contain winnt/system32 files? - is that OK, - it's a
long while since I did much on windows...
regards
alan
Frank M. Kromann wrote:
>Hi All,
>
>I have just released a new set of binaries for PHP-GTK. The build is made with the latest
>version of PHP and PHP-GTK including support for libGlade (finally).
>
>The binaries are available from gtk.php.net.
>
>I have also downloaded a versionof Glade for Win32, but I have not tested it yet :-)
>
>If you have any problems or comments, please feel free to contact me.
>
>Happy Hacking
>Frank
>
>
>
>
--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net