Murray Cumming wrote:
> gtkmm doesn't allow signal handlers to throw exceptions, so it warns you
> when this happens. This is because it would have to pass through a C
> function call, and they can't throw exceptions. It's a good idea to catch
> your exceptions earlier anyway.

One small correction: you can register a custom handler with
Glib::add_exception_handler().  Useful for printing some diagnostic messages
from exceptions etc.  It is probably meaningless to handle std::bad_alloc
here, but if you have a custom exception type...

Paul
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to