Re: signal_autoconnect_object
| From: | Eric Blount | Date: | Tue, 06 May 2003 21:23:56 +0000 |
| Subject: | Re: signal_autoconnect_object | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3367@lists.php.net to get a copy of this message | ||
Yes, I too am interested in this, and I tried exactly the same thing. Does
anyone know what the array argument to signal_autoconnect() does?
Thanks,
Eric
----- Original Message -----
From: "Christian Weiske" <cweiske@cweiske.de>
To: <php-gtk-general@lists.php.net>
Sent: Tuesday, May 06, 2003 5:48 AM
Subject: [PHP-GTK] signal_autoconnect_object
Hi
With the normal "{WIDGET}->connect( "{signal}", array( &$this,
"OnSignalBlaBla"))" you can connect the signal handler of a widget to a
function IN THE OBJECT you want.
With "{GLADE}->signal_autoconnect()" you connect all signal handlers
specified in the glade to the functions defined in the "root function
level", means with no object/class.
Now I'd like to autoconnect all the signal handlers to functions of my
object ( $this->OnSignalBlaBla).
I tried this with the "{GLADE}->signal_autoconnect_object( array(
&$this))", but it connects the functions on the "root level", not in my
object.
Does anybody know how I can achieve my goal?
Regards/MfG,
Christian Weiske
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Christian Weiske
cweiske@cweiske.de
www.cweiske.de
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Always forgetting birthdays? Try birthday reminder!
http://www.cweiske.de/birthday.htm
Free & fast ecards: http://ecards.cweiske.de
--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php