render cell color



Hi all

How to set color of column in gtk_tree_view ?

i wrotte:
   GdkColor yellow = { 0, 0xffff, 0xffff, 0x0000 };
   gtk_tree_view_column_add_attribute (GtkClm, renderer,
   "background", (int)&yellow);

but it doesn`t work.


-- 
 Hirurg                          mailto:iamhirurg mail ru




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]