[pygtk] trap gtk warnings

Michael Hohn mhhohn at lbl.gov
Sat Sep 16 03:38:09 WST 2006


Hi,

is there a way to trap gtk assertions in pygtk?  I get the warning

    widgets.py:1530: GtkWarning: gtk_widget_get_pango_context: assertion
    `GTK_IS_WIDGET (widget)' failed   

just before the segmentation fault in C.

-- Michael


More information about the pygtk mailing list