Re: Displaying domain objects with GtkTreeView



On Fri, Dec 02, 2011 at 03:55:51PM +0100, RafaÅ KrupiÅski wrote:
I rather meant to use my object as a model for a whole, multi-column
row, somehow binding fields or properties to columns.

It makes no sense (to me anyway) to imagine one object as multiple
*model* columns.

But it is easy to create an arbitrary M:N mapping between model rows and
view rows using the cell data functions, see
gtk_cell_layout_set_cell_data_func() which is probably the binding you
are looking for.

Yeti




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