How to highlight lines of GtkTreeView

1. create
2. connect the
3. in the callback, change the font color of line, setting property
4. also in the callback, get path, that is the representation of line of model in
5. verify is is odd or even and change correct color setting property
GtkTreeViewwith the
GtkTreeViewColumnand
GtkCellRendererTextas normal;
2. connect the
GtkTreeViewColumnto the
GtkTreeViewColumn::set_cell_data_funccallback;
3. in the callback, change the font color of line, setting property
foreground;
4. also in the callback, get path, that is the representation of line of model in
GtkTreeView;
5. verify is is odd or even and change correct color setting property
cell-background;