[Gtk-sharp-list] TreeView row editing.
03 Sep 2003 11:28:56 -0400
Thanks for the quick reply!
I ran across a few mails in the list that mention binding Colors in the
TreeView and then setting the Renderer, however I've been over and over
the API, and cannot seem to find the proper methods that suit this
purpose. Could you perhaps give me a quick snippet of code that
illustrates what you mean, or point me to the relevant API calls?
I appreciate your help.
On Tue, 2003-09-02 at 23:44, Mike Kestner wrote:
> On Tue, 2003-09-02 at 14:49, Jason Boutwell wrote:
> > I need the ability to change the foreground color (text color) of
> > individual rows in my TreeView(s). Is there a way to do this? I see that
> > I can alter the foreground of CellRendererText objects, but I do not see
> > how I can access these renderer(s) on a per-row basis.
> You need to add a color column to your tree/list store and bind it to
> the color property on the cell renderer.