Re: GtkTreeView Row Style or Color
- From: Juan Pablo Ugarte <xjuan_gq_nu yahoo com ar>
- To: Razvan Gavril <razvan gavril gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView Row Style or Color
- Date: Mon, 29 Aug 2005 16:16:11 -0300
Ops, I forget to mention, that would be for columns
For rows its better to attach the "foreground" property of the
GtkCellRendererText to a model column.
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Type", renderer,
"text", TEXT_COLUMN, "foreground", COLOR_COLUMN, NULL);
gtk_tree_view_append_column (treeview, column);
Now I hope this will help :)
Juan Pablo
___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]