Re: New binaries for Win32 with libGlade
| From: | Frank M. Kromann | Date: | Fri, 12 Oct 2001 17:41:32 +0000 |
| Subject: | Re: New binaries for Win32 with libGlade | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-108@lists.php.net to get a copy of this message | ||
I must say I have the same problem, but I should be able to fix it :-)
I guess I was too fast last night releasing new binaries. I just tested compilation and parsing of a
glade file and that looked ok.
As soon as I have figured out how to handle GtkWidget( types in the generator I'll update the
release.
- Frank
> Confirmed; same here.
>
> On Fri, Oct 12, 2001 at 05:11:14PM +0100, Steph wrote :
> > 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
> >
> >
> >
> > --
> > 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
>
> --
> Markus Fischer, http://guru.josefine.at/~mfischer/
> EMail: mfischer@guru.josefine.at
> PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
> -All your scripts are belong to Zend-
>
>