Re: GtkTreeView Row Style or Color



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]