Re: libglade
| From: | Celestino Roberto Alejandro | Date: | Wed, 14 Mar 2001 13:30:46 +0000 |
| Subject: | Re: libglade | ||
| References: | 1 2 3 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-855@lists.php.net to get a copy of this message | ||
Thanks ......Steph and Barry...
:-)...yes, i suppose this, but how now i'm in a win32 sytem for that my
linux, crashed tomorrow, i have wait...no!, i going to use cvs from a telnet
session in this lan...thanks!!!!
...
:-)
#!main
----- Original Message -----
From: "Barry Mitchelson" <barrym@theshining.demon.co.uk>
To: <php-gtk@lists.php.net>
Sent: Wednesday, March 14, 2001 9:58 AM
Subject: Re: [PHP-GTK] libglade
> On Wed, Mar 14, 2001 at 09:50:31AM -0300, Celestino Roberto Alejandro
wrote:
> > Sorry...but how i can make to my php support Libglade?
> > ...i say, this, because i try run your example, and my php say that
Don't
> > know the class GladeXML...then i suppose that not is built-in in php gtk
or
> > this is wrong?
>
> you need to be running the latest CVS version. libgalde is not in the
downloadable version from http://gtk.php.net.
>
> barry
>
> > ...thanks,
> > Robert Celestino
> > ----- Original Message -----
> > From: "Barry Mitchelson" <barrym@theshining.demon.co.uk>
> > To: <php-gtk@lists.php.net>
> > Sent: Wednesday, March 14, 2001 8:09 AM
> > Subject: [PHP-GTK] libglade
> >
> >
> > > hi,
> > >
> > > messing around with libglade, and having a problem. I can't seem to
> > connect a signal handler to a widget ..
> > >
> > > here's my code :
> > >
> > > ---libglade.php---
> > > #!/usr/local/bin/php -q
> > > <?
> > >
> > > function quit()
> > > {
> > > Gtk::main_quit();
> > > }
> > >
> > > $foo = &new GladeXML("foo.xml");
> > >
> > > $foo->signal_autoconnect();
> > >
> > > Gtk::main();
> > > ?>
> > > ---end---
> > >
> > > and my foo.xml :
> > >
> > > ---foo.xml---
> > > <GTK-Interface>
> > > <widget>
> > > <class>GtkWindow</class>
> > > <name>MainWindow</name>
> > > <x>30</x>
> > > <y>30</y>
> > > <width>300</width>
> > > <height>300</height>
> > > <signal>
> > > <name>destroy</name>
> > > <handler>quit</handler>
> > > </signal>
> > > </widget>
> > > </GTK-Interface>
> > >
> > > ---end---
> > >
> > > the window is created fine, but i get this error :
> > >
> > > ** WARNING **: could not find signal handler 'quit'.
> > >
> > > any ideas ?
> > >
> > > barry
> > >
> > >
> > > --
> > > http://www.theshining.org
> > >
> > > --
> > > PHP GTK Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-gtk-help@lists.php.net
> > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > >
> > >
> >
> >
> > --
> > PHP GTK Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-gtk-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> http://www.theshining.org
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>