Re: [[gtkmm] How to change fontcolor in a Listview]



Can i use this on individual cells? And can you provide me with some
examplecode for changing this property_foreground() ? 

thanks!

bart

On Mon, 2003-10-06 at 17:19, Murray Cumming wrote:
> bart <bart hakvoort castel nl> wrote:
> > I suppose the subject is obvious. I have a listview with a lot of names.
> > Some should be red and others green. Is there a way to do this?
> > I;ve looked in the CellRendering info, but i didn't find an answer
> > there.
> 
> I think you might want to use Gtk::CellRendererText::property_foreground().
> http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1CellRendererText.html
> 
> This part of the book might be helpful:
> http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s02.html#id2880753
> 
> 
> Murray Cumming
> murrayc usa net
> www.murrayc.com
> 
> 




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