everything works I made the change in table.c

the example is not concrete for a beginner but once set up and with data .. 
everything rolls finally it's pretty simple

it lacks color in the cells the rest is more than viable

table.c

static void applyColor(GtkTreeModel *m, GtkTreeIter *iter, int modelColumn, 
GtkCellRenderer *r, const char *prop, const char *propSet) { GValue value = 
G_VALUE_INIT; GdkRGBA *rgba=NULL; gtk_tree_model_get_value(m, iter, 
modelColumn, &value); //rgba = (GdkRGBA *) g_value_get_boxed(&value); if (rgba 
!= NULL) g_object_set(r, prop, rgba, NULL); else g_object_set(r, propSet, 
FALSE, NULL); g_value_unset(&value); }

Reply via email to