[pygtk-1.99.15, gtk+-2.2.1, python 2.3.a1, x86 linux]
I have used
ls = ListStore(str, str, str)
with success, but
ls = ListStore(bool, str, str)
fails with a nasty, misleading "could not get typecode from object" in a
*subsequent* statement! If I change "bool" to gobject.TYPE_BOOLEAN, it
works fine. Eeek, this took me a long while to debug! Are python type
objects like "str" and "bool" not supposed to be used here? And why doesn't
the traceback point to the appropriate offending statement?
--
I cannot think why the whole bed of the ocean is
not one solid mass of oysters, so prolific they seem. Ah,
I am wandering! Strange how the brain controls the brain!
-- Sherlock Holmes in "The Dying Detective"
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/