[pygtk] TreeView/CellRenderText and numbers
saeed.gnu at gmail.com
Wed Oct 12 17:51:12 WST 2011
Please put your code.
You should define the right type in ListStore (int/str), and if the int
feild is editable, I think you have to handle "edited" signal manually to
validate input text.
On Wed, Oct 12, 2011 at 12:59 PM, Olaf Devik <olaf.devik at mollefaret.no>wrote:
> 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
> Olaf Devik
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://faq.pygtk.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pygtk