[Gtk-sharp-list] How to throw exception when a GTK warning and critical exception ocurs ?

Tiago Lima tiago.lima@vianw.pt
Fri, 30 Jan 2004 16:31:39 +0000


When using GTK# and adding and removing widgets from containers (Gtk.Container 
derivates) sometimes some WARNING and CRITICAL messages appear but no (C#) 
exception is launched :(
How do I know what is causing this (number of the line in my code, ...) ?
How can I test if something like this happens? Is there a way of "registering" 
to that "errors"?

Thanks in advance,
	Tiago Lima