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: Thu, 24 Nov 2011 16:30:25 +0100
Hello
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
better solution?
--
Pozdrawiam / Best Regards
Rafal Krupinski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]