Re: Exceptions disappear when thrown in callback
| From: | Andrei Zmievski | Date: | Fri, 17 Mar 2006 21:49:51 +0000 |
| Subject: | Re: Exceptions disappear when thrown in callback | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2645@lists.php.net to get a copy of this message | ||
Hmm, I can see this being useful though:
try {
$dialog->run();
} catch (Exception $e) {
...
}
-Andrei
On Mar 17, 2006, at 12:07 AM, Christian Weiske wrote:
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