Re: Treeview with images problem



 /* COL_NAME */
 gtk_tree_view_column_pack_end(column,renderer_text,TRUE);
 gtk_tree_view_column_add_attribute(column,
                    renderer_text,
                    "text",COL_NAME);


Hi,

How do I here associate a column from the model with this text renderer? My model has only one column with type G_TYPE_STRING. In the manual they put a '0' in place of the COL_NAME, but that doesn't work for me...

Thanks for the reply,

Remco Poelstra



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