Re: I need a short example of $object->block() & $object->unblock()...
| From: | Andrei Zmievski | Date: | Tue, 17 Jul 2001 21:44:09 +0000 |
| Subject: | Re: I need a short example of $object->block() & $object->unblock()... | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2252@lists.php.net to get a copy of this message | ||
On Tue, 17 Jul 2001, Mauro Ferreira wrote:
> Thanks, Andrei !!! And how i disable:
>
> $clist->connect('click_column',array($this,'columnClicked'));
>
> and:
>
> $clist->connect('select_row',array($this,'rowSelected'));
You probably never checked, but connect() method returns an ID that you
can use to disconnect the signal.
$handler_id = $clist->connect('click_column',array($this,'columnClicked'));
$clist->disconnect($handler_id);
-Andrei
* Only 19,999 lines of C++ to my next ski trip... *