Fw: [PHP-GTK] I need a short example of $object->block() & $object->unblock()...
| From: | Mauro Ferreira | Date: | Wed, 18 Jul 2001 22:23:42 +0000 |
| Subject: | Fw: [PHP-GTK] I need a short example of $object->block() & $object->unblock()... | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2270@lists.php.net to get a copy of this message | ||
Andrei & Steph, thanks again (and again, and ... how many times you helped me ? :o) Your last
mails worked well for me.
I did this:
$this->selRow =
$this->clist->connect('select_row',array($this,'edtRow'));
/* some code */
$this->clist->signal_handler_block($this->selRow);
/* some code */
$this->clist->signal_handler_unblock($this->selRow);
...and ALL worked well and under control....
Steph, i NEED to work with classes; i'm making a phpgtk medium-sized app i'm calling
'core', this read a mysql database and then build all maintenance windows and routines
automatically.
Because 'core' is a something complex project, i'm using classes as a way to
'divide to conquer';
the only alternative is creating and maintaining large and complex arrays; i tryed it first and the
resultant code is hard to understand and maintain; Another reazon to this is becaise i'll put
'core' in the public domain sooner (maybe this week), and a clear, well organized and
divided code will help when i'll add relations and functional dependencies code into
'core'.