On Mon, 2011-10-10 at 16:10 +0200, Markus Elfring wrote: > > You can connect model columns to cell renderer properties using > > add_attribute like so: > > http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview.html.en#treeview-cellrenderer-details > > Thanks for your link. > > > > So something like this should work: > > viewcolumn->add_attribute(renderer->property_inconsistent(), > > m_columns.m_inconsistent); > > Can such a connection also be specified for a context-sensitive predicate > function?
I don't know what you mean, but I already mentioned set_cell_data_func(), which maybe does what you want. This example uses it: http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview-examples.html.en#sec-editable-cells-example -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
