Ruby Forum Ruby-Gnome 2 > treeview and doubles

Posted by Martin Vales (martin_gnu)
on 30.04.2008 12:06
Hi all:

It´s posible edit the cellrender for doubles??

Always put 6 decimals. Can i modify that??

Any tips appreciated.


Regards.
Posted by Shin guey Wong (sgwong)
on 03.05.2008 12:26
Martin Vales wrote:
> Hi all:
> 
> It´s posible edit the cellrender for doubles??
> 
> Always put 6 decimals. Can i modify that??
> 
> Any tips appreciated.
> 
> 
> Regards.

You can use set_cell_data_func(cell) to archive that.

check this tutorial:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview-renderer-celldatafunc