(apologies if you get this twice. i'm having intermittent mail problems.)
Gtk occasionally emits semi-useful error messages like (wrapped for reading
convenience):
draw.py (pid:29047): GRuntime-CRITICAL **: file gvalue.c: line 140
(g_value_unset): assertion `G_IS_VALUE (value)' failed
It seems that g_log_set_handler allows you to establish error handlers for
different error and warning classes. For PyGtk I think it might be more
useful to raise exceptions than to emit these messages. g_log_set_handler
looks like the key function. Unfortunately, I can't get to the glib docs at
the moment to investigate this capability more.
Has anyone investigated this already?
- --
Skip Montanaro ([EMAIL PROTECTED])
http://www.mojam.com/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk