Re: I need a short example of $object->block() & $object->unblock()...

From: Date: Thu, 19 Jul 2001 00:22:40 +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-2272@lists.php.net to get a copy of this message
Mauro, I've nothing against classes, I just don't understand them! Will rectify this shortly, I'm sure. ----- Original Message ----- From: "Mauro Ferreira" <mauroferreira@enersulnet.com.br> To: "php-gtk list" <php-gtk@lists.php.net> Sent: Wednesday, July 18, 2001 11:23 PM Subject: Fw: [PHP-GTK] I need a short example of $object->block() & $object->unblock()... 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'.

« previous php.gtk (#2272) next »