A Seg, 2004-07-05 �s 18:47, John Ehresman escreveu: > Gustavo J. A. M. Carneiro wrote: > > Did this. All (and only) Gtk warnings now are caught and raised as > > python warnings. The advantage of doing so is that by default python > > shows the python source file and line number that caused the warning to > > be raised. Also, warnings can be turned into exceptions or redirected > > somewhere else. > > Thanks, I generally agree with this approach. There's a practical > problem on Windows, though, because a GUI application should redirect > all log domains to prevent a console window from appearing when > something is printed to stdout or stderr. Currently, Wing redirects the > following domains: NULL, "Pango", "Gtk", "Gdk", "GLib", "GLib-GObject". > > Maybe pygtk should redirect more domains and provide an api to add new > redirected domains.
+1 Regards. -- Gustavo Jo�o Alves Marques Carneiro <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> The universe is always one step beyond logic. _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
