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 easily...
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));
}
}
Thanks, Vincent _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
