Re: libglade

From: Date: Thu, 15 Mar 2001 21:01:32 +0000
Subject: Re: libglade
References: 1 2 3 4  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-943@lists.php.net to get a copy of this message
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. -Andrei Documentation is worth it just to be able to answer all your mail with 'RTFM'. -- Alan Cox

« previous php.gtk (#943) next »