[pygtk] TreeView/CellRenderText and numbers
Saeed Rasooli
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
>
> Regards
>
> Olaf Devik
>
>
> ______________________________**_________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/**listinfo/pygtk<http://www.daa.com.au/mailman/listinfo/pygtk>
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20111012/820bfdc7/attachment.html>
More information about the pygtk
mailing list