Re: [gtkmm] listview: setting textcolor in individual cells in the same column



Hi Bart!

bart wrote:
Hello,

Thanks to some help from Christer and Murray i'm now able to modify the
textcolor in a column. This is great, but now i need to set different
colors in different cells in the same column. I don't know how to
achieve this, i don't know if this is even possible!


Of course it's possible.
But you need to use the cell_data_func approach I suggested in reply to your previous post, or derive your own CellRenderer and put the logic into that. You can't just set the foreground property "globally".

--
Christer Palm




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]