Re: libglade

From: Date: Wed, 14 Mar 2001 12:58:19 +0000
Subject: Re: libglade
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-854@lists.php.net to get a copy of this message
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

« previous php.gtk (#854) next »