[gtkada] showing and editing different types in same treeview column

Rob Groen robgr at xs4all.nl
Thu May 19 21:29:02 CEST 2016


On 19-05-16 08:58, Dmitry A. Kazakov wrote:

You can use single text renderer and use custom Set_Cell_Data function 
to set the renderer's "text" property to whatever text you want it to show.
 >
 > it is not the showing of the cell contents that is the problem, it is 
editing the cell. For integer types I want to
 > use a spinbutton, for enums a combo box and for strings an entry. How 
do I arrange that in one treeview
 > column without packing different renderers and needing additional 
columns in the store to set the editability
 > of the renderers
 >
 > regards, Rob


More information about the gtkada mailing list