Re: libglade

From: Date: Thu, 15 Mar 2001 20:40:31 +0000
Subject: Re: libglade
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-940@lists.php.net to get a copy of this message
Em Qua 14 Mar 2001 11:23, Andrei Zmievski escreveu: > On Wed, 14 Mar 2001, Barry Mitchelson wrote: > > $foo->signal_autoconnect(); > > Autoconnect doesn't work yet. :) > In the meanwhile is there some way to connect signals, at last for when I close the window, main-loop dies? This: $window = &new GladeXML('/home/bart/Projects/project1/project1.glade'); $window->connect_object('destroy', array('gtk', 'main_quit')); $window->connect_object('delete-event', array('gtk', 'false')); Dosen't work, and more, delete-event gives a error: Gtk-WARNING **: gtk_signal_connect_full(): could not find signal "delete-event" in the `GladeXML' class ancestry (probaly not implemented?) > -Andrei > > "The secret of flying is to throw yourself > at the ground, and miss." -- Douglas Adams -- Iuri Fiedoruk Santa Maria, RS, Brazil

« previous php.gtk (#940) next »