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



On Sun, Sep 19, 2004 at 05:55:30PM +0200, Florian Schmidt wrote:
> On Sun, Sep 19, 2004 at 08:15:19AM -0500, David Jensen wrote:
> > Florian Schmidt wrote:
> > ...
> > so if row[color_enable] is true, row[color] is used, else default
> > i leave it to you to fill in the columns, this just sets up the renderer.
> 
> thanx david, this also works for me, but does anybody now a "nicer" solution?

i finally got it working using Cell Data Functions...
... at my first try i forgot to call reset_value() on the property i changed...

:) i have to read more gtk+ documentation :)

flo.

-- 
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]