Re: Displaying domain objects with GtkTreeView
- From: David NeÄas <yeti physics muni cz>
- To: RafaÅ KrupiÅski <r krupinski gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Displaying domain objects with GtkTreeView
- Date: Fri, 2 Dec 2011 16:01:17 +0100
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]