Assign cellrenderers of your choice to the value column and use 
TreeCellDataFunc (property SetCellDataFunc) on the column to display the data 
you want, including the possibility of data conversion within the 
TreeCellDataFunc callback (so you may only need string cellrenderer and convert 
bool values to any string representation you want from within this callback 
function)

Am 01.08.2012, 14:44 Uhr, schrieb Marcin S <[email protected]>:

Hello,
In mono TreeView tutorial its stated that one column could have
multiple cell renderers types - it is just what i need, but can't find
any example of such usage.

I want 2 column TreeView, first is name and second is value which can
be of type string or bool.
But I'm not sure how to deal with model types. Any hints on that matter?
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



--
www.site7even.de | www.nskcomputing.de
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to