[pygtk] hide gtk warning

Peter Irbizon peterirbizon at gmail.com
Wed Jun 1 17:41:51 WST 2011


thank you. I tried on the top of my .py file
import warnings
warnings.simplefilter('ignore', Warning)

but it suppresses all warnings.

How can I suppress only this one warning "gdk_property_change: assertion
window !=Null failed"?
I am a newbie and example would be highly appreciated. thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110601/cdd4b14d/attachment.html>


More information about the pygtk mailing list