Re: libglade

From: Date: Thu, 15 Mar 2001 21:04:15 +0000
Subject: Re: libglade
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-944@lists.php.net to get a copy of this message
Em Qui 15 Mar 2001 18:01, Andrei Zmievski escreveu: > On Thu, 15 Mar 2001, Iuri Fiedoruk wrote: > > I already had this: > > <name>destroy</name> > > <handler>main_quit</handler> > > > > $window->connect_object('destroy', 'main_quit'); > > (without array now) > > But it still dosen't work. > > No, you cannot use regular GtkObject signal connection function for > this. In your case you need to do this: > > $window->signal_connect('main_quit', array('gtk', > 'main_quit')); > > or something similar. Ok, worked (the call), but got a <b>Warning</b>: main_quit() requires exactly 0 arguments, 1 given in <b>glade.php</b> on line <b>27</b><br> Hehehehe, I'll try more things, thanks. > > -Andrei > > Documentation is worth it just to be able > to answer all your mail with 'RTFM'. -- Alan Cox -- Iuri Fiedoruk Santa Maria, RS, Brazil

« previous php.gtk (#944) next »