[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Multiple stores for TreeView
- From: martyn 2 russell bt com
- To: mige_harimurti yahoo com, gtk-app-devel-list gnome org
- Subject: RE: Multiple stores for TreeView
- Date: Thu, 3 Apr 2003 10:17:00 +0100
> 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]