Re: Multiple stores for TreeView
- From: mige <mige_harimurti yahoo com>
- To: martyn 2 russell bt com
- Cc: mige_harimurti yahoo com, gtk-app-devel-list gnome org
- Subject: Re: Multiple stores for TreeView
- Date: Fri, 04 Apr 2003 10:18:13 +0700
Mr Russel, thank you for your idea ...
Yes, the model only contains several rows ..
Regards,
mige
martyn 2 russell bt com wrote:
I have several GtkListStore, but only one at the time displayed in a
GtkTreeView.
What is the best way to implement this ?
1.
- create only one GtkTreeView
- Every time user select a list-store
- Clean-up treeview (remove all the columns, set
treeview's model to
null)
- Fill-up treeview (set treeview's model to list-store
and build up
the columns)
Personally, I would have said this is the better option. It depends on the
data really, i.e. if there were 7 columns by 1000 or more entries, doing
this would not be viable (IMO).
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]