I need a short example of $object->block() & $object->unblock()...
| From: | Mauro Ferreira | Date: | Tue, 17 Jul 2001 20:33:21 +0000 |
| Subject: | I need a short example of $object->block() & $object->unblock()... | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2245@lists.php.net to get a copy of this message | ||
I'm writting a function that need total enviroinment control, but without destroying objects.
how exactly i do this:
$button->connect('clicked','somefunction');
/* some code */
$button->block('clicked'); // here i need to disable the button
/* some code */
$button->unblock('clicked'); // now i need the button working again...