thats it!
thanks

On Sun, 2011-08-07 at 16:59 -0400, Doug Blank wrote:
> On Sun, Aug 7, 2011 at 3:57 PM, Ronaldo Nascimento <[email protected]> wrote:
> > I remember an article somewhere on the mono-project Gtk# page about
> > setting an event handler to catch all exceptions.
> >
> > Can anyone point me to this article or show the code?
> 
> I don't know the article, but in IronPython using Gtk# that would be:
> 
> import GLib
> # Setup Runtime environment:
> def handle_exception(arg):
>    ...
> GLib.ExceptionManager.UnhandledException += handle_exception
> 
> Google "GLib.ExceptionManager.UnhandledException" for details in other
> languages.
> 
> Hope that helps,
> 
> -Doug
> 
> > Thanks
> >
> > --
> > Ronaldo Nascimento <[email protected]>
> >
> > _______________________________________________
> > Gtk-sharp-list maillist  -  [email protected]
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >


_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to