Re: Connection methods

From: Date: Fri, 14 Oct 2005 17:10:44 +0000
Subject: Re: Connection methods
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1817@lists.php.net to get a copy of this message
Yes, unless we need connect_replace(). -Andrei On Oct 14, 2005, at 4:56 AM, Pablo Dall'Oglio wrote:
So, the official connect' methods will be: connect and connect_after (passing the object as first param) connect_simple and connect_simple_after (do not passing) is it right ? best regards Pablo On Qui, 2005-10-13 at 21:05 -0700, Andrei Zmievski wrote:
I've implemented the new connection method connect_simple() and deprecated connect_object(), which will still work but issue a notice. Now, do we really need connect_replace()? This is the method that will replace the signal widget parameter with a user supplied one, e.g.: $drawing_area->connect_replace('button_press_event', 'replace', $window, array(1,2)); function replace($myparam, $event, $userarg) {
     /* $myparam is $window and $userarg is array(1,2) */
} Is this useful at all? -Andrei
-- :: Pablo Dall'Oglio :: www.solis.coop.br - Lajeado, RS - Brasil :: www.dalloglio.net - Personal Home Page :: The software is free, but the work isn't. -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#1817) next »