Re: Exceptions disappear when thrown in callback
| From: | Christian Weiske | Date: | Fri, 17 Mar 2006 08:07:29 +0000 |
| Subject: | Re: Exceptions disappear when thrown in callback | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2640@lists.php.net to get a copy of this message | ||
Andrei,
> Okay, unless someone has a better idea, I'm going to go with
> Christian's suggestion here. Votes?
The nested main loops are a problem. E.g. GtkDialogs have the run()
method that opens its own loop, so a situation with multiple loop levels
can occur very often.
The best would be to quit all levels, calling main_quit() as long as
main_level() is > 0 (or > -1?).
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc