Displaying domain objects with GtkTreeView
- From: RafaÅ KrupiÅski <r krupinski gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Displaying domain objects with GtkTreeView
- Date: Mon, 28 Nov 2011 13:03:50 +0100
How do I display list of custom objects in GtkTreeView?
GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
objects, only list of gobjects.
On the other hand, when I want to read list's selection all I get is
the GtkListStore model - list of gobjets and I have to figure out the
actual domain object the data comes from.
I thought of adding a hidden column with some id, but maybe there is a
Pozdrawiam / Best Regards
] [Thread Prev