Re: libglade

From: Date: Wed, 14 Mar 2001 12:56:16 +0000
Subject: Re: libglade
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-853@lists.php.net to get a copy of this message
Support for this was only added yesterday. If your build is from the cvs since then, you need to talk to Andrei ... who should be around soon cos it's that kind of time in the US now .... ----- Original Message ----- From: "Celestino Roberto Alejandro" <rcelestino@elsitio.com.ar> To: <php-gtk@lists.php.net> Sent: Wednesday, March 14, 2001 12:50 PM Subject: Re: [PHP-GTK] libglade 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? ...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

« previous php.gtk (#853) next »