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

Mike Kestner mkestner@speakeasy.net
Fri, 30 Jan 2004 11:34:01 -0600


On Fri, 2004-01-30 at 10:31, Tiago Lima wrote:
> Hi,
> 
> 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"?

Maybe GLib.Log is what you are looking for?

-- 
Mike Kestner <mkestner@speakeasy.net>