[Gtk-sharp-list] TreeView row editing.

Jason Boutwell jason.boutwell@comcast.net
03 Sep 2003 15:32:42 -0400


Ixnay on that last question.

I finally figured out how to properly use the attributes of a cell
renderer.

Jason


On Wed, 2003-09-03 at 11:28, Jason Boutwell wrote:
> Mike.
> 
> 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.
> 
> Jason
> 
> 
> 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.
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list