[gtkmm] treeview/liststore cellrenderer color <-> background color of a single cell?



hi,

i want a single cell (not the whole column) to have another background 
color.

at the moment i use TreeViewColumn::set_cell_data_func() to specify a
custom column-renderer-function.

while rendering this function gets called for each row.

if i set the background() property of the CellRendererText i'm using,
on the row i want to change the color from, the hole column gets this color.

i understand that result, but i have no idea how to get a different
background color for a single cell (in a distinct row a distinct column).

any help?

thanks!
-- 
Florian Schmidt			      schmidt_florian gmx de 
GCS d? s+: a-- C++++ UL+++ P--- L+++ E W- N+ o+ K++ w--- O-
M-- V- PS+ PE Y PGP- t++ 5- X+ R- tv+ b+ DI D G e+ h+ r-- y?



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