When storing number I have used 'int' but to find out that I was not allowed
to go back to change the value back to 'None' (TypeError: value is of the
wrong type for this column). Is there a way to set the value of a ListStore
to None in that case?

None is not an it so you can't set an int column to a non-int. You
might change the column type.

One last question. I have not found a way to query a ListoStore/TreeStore to
output which are its column definitions, so no way to create a inspector. Is
it possible?

Have a look at:
http://www.pygtk.org/pygtk2reference/class-gtktreemodel.html#method-gtktreemodel--get-column-type


--
Lawrence
http://www.oluyede.org/blog
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to