Re: changing a widgets callback function runtime
| From: | firepages.com.au | Date: | Sun, 12 Jan 2003 03:37:41 +0000 |
| Subject: | Re: changing a widgets callback function runtime | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2891@lists.php.net to get a copy of this message | ||
Thanks all !
I ended up making an extra button as Frank suggested , I also tried the
disconnect() method and it worked fine I just ended up carrying around a
load of extra variables to enable it, I guess I just plain wrote this thing
the wrong way around in the first place to have to resort to such tactics ;)
Steph I saw signal_handler_block() & unblock but did not have a clue how to
use them till I saw Alans disconnect example.
I still vote for a $widget->change_callback($signal,$callback); function
though please :)
again thanks for all the ideas !
Regards,
Simon.