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

From: Date: Tue, 17 Jul 2001 21:32:38 +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-2250@lists.php.net to get a copy of this message
On Tue, 17 Jul 2001, Mauro Ferreira wrote: > 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... $button->set_sensitive(TRUE); $button->set_sensitive(FALSE); -Andrei * "UNIX, isn't that some archaic form of DOS?" - our job applicant *

« previous php.gtk (#2250) next »