RE: TreeView and setting row colors



Hello,

Thanks, I was able to figure out my mistakes by looking at a working
example.  I had something similar to the example code, but had a few
minor things wrong that were difficult for me to see.

I appreciate it.

Aaron Geier

-----Original Message-----
From: Jonathon Jongsma [mailto:jonathon jongsma gmail com] 
Sent: Thursday, August 30, 2007 3:42 PM
To: Aaron Geier
Cc: gtkmm-list
Subject: Re: TreeView and setting row colors

On 8/30/07, Aaron Geier <ageier catalystmicro com> wrote:
> Hello,
>
> I've been able to use the CellRenderer properties to set the
background
> and foreground colors, thanks for the tips.
>
> I am having some difficulties creating a custom cell_data_func.  I did
a
> google search to see if I could find any examples where this was done,
> but am not having any luck there.
>
> Does anyone have an example of a custom cell_data_func?
>
> Thanks
> Aaron Geier

I hope danielk doesn't mind me using his app as an example here, but I
noticed an old mailing list post where he pointed somebody to this
file:
http://svn.gnome.org/viewcvs/regexxer/trunk/src/filetree.cc?revision=641
&view=markup

Search for text_cell_data_func

-- 
jonner



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