[pygtk] TreeView/CellRenderText and numbers

Olaf Devik olaf.devik at mollefaret.no
Wed Oct 12 17:29:59 WST 2011


I am struggling with TreeView and CellRendererText.

I have a ListStore containing a number of fields with strings and 
integers. The ListStore is connected to a TreeView and the string fields 
render well as expected, but the fields with integers will not render.

How can I render integer values in the TreeView?

Probably a simple question with a simple answer, but I have so far not 
found any simple solution. Most problems listed in the FAQs are far to 
advanced compared to my simple problem.

Tips are welcome

Regards

Olaf Devik




More information about the pygtk mailing list