gtk-- exceptions - was Re: Gtk-- FAQ: first draft available
- From: Todd Dukes <tdukes ibmoto com>
- To: gtk-list redhat com, "gtkmm modeemi cs tut fi" <gtkmm modeemi cs tut fi>
- Subject: gtk-- exceptions - was Re: Gtk-- FAQ: first draft available
- Date: Fri, 23 Jul 1999 11:49:32 -0500
Karl Nelson wrote:
> Should Gtk-- place a try/catch block arround the calls to the user
> callbacks that catchs all to an error message or let it
> crash GTK+ and hopefully fall through as an uncaught exception?
> Or alternatively can we write a gtk_signal_exception_cleanup
> function that can clean up the mess?
I would like to be able to use exceptions in as transparent a method
as possible. But if that solution causes ugly code with bad
performance, it should be avoided. I have the following questions.
1. What would a gtk_signal_exception_cleanup function do? I am not
sure I understand exactly what we need to fix, or what method
is used to fix it.
2. Where would it go (gtk-- code or user code)?
3. What would it do to the performance of programs that don't
I also copied this to the gtkmm list. I thought we should talk
about it there.
| Todd Dukes E-MAIL: firstname.lastname@example.org |
| Motorola Somerset Phone: (512) 424-8008 |
| 6200 Bridgepoint Parkway Building #4 MS OE70 |
| Austin, Texas 78730 |
] [Thread Prev