What exactly does a CellRenderer do?



Hi everyone,

I have a tree view, with 2 columns. One column just has text, and the other
column I want to place a Progress Bar. Now I looked at the gtk-demo, and I have
used this: 

  col_offset = gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW
(treevw), -1, "Buddy Names", renderer, "text", COLUMN_NAME, NULL);

obvioulsy this works fine for the column with the text, but I cant seem to find
the property which allows me to place a G_OBJECT within the column.

Can someone please point me in the right direction? thanks!

-- 
Arash Nikkar
arash umail ucsb edu



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