[Gtk-sharp-list] Row background color

Vincent Arnoux vincent.arnoux@rfo.atmel.com
Thu, 24 Feb 2005 18:15:31 +0100

I have a TreeStore called jobsStore in a treeview and I would like to be 
able, when a button is clicked, to browse rows and change one row's 
background color.
I found some answers in the mailing list, but none I can understand 
I would like to do something like:

    void on_downloadJobsButton_clicked( object o, EventArgs args )
        TreeIter iter;
        TreeModel model;
        if (jobsStore.GetIterFirst(out iter)) {
           do {
                if (jobsStore.GetValue(iter, 0).Equals("red") && 
jobsStore.GetValue(iter, 1).Equals("red"));
                   // Change this cell's background color
           while (jobsStore.IterNext(ref iter));