Re: Adding GtkTreeStore columns after instantiation.
- From: Havoc Pennington <hp redhat com>
- To: murrayc usa net
- Cc: Jonathan Blandford <jrb redhat com>, gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Adding GtkTreeStore columns after instantiation.
- Date: 04 Nov 2001 12:30:44 -0500
murrayc t-online de (Murray Cumming) writes:
> I was about to start ranting about this, wheeling about my standard
> example of the grid widget that shows the results of lots of various SQL
> queries. But then I realised that, if the nature of the data changes,
> with different numbers and types of columns, then the Model itself
> should probably change.
Should also realize that the tree view isn't a grid widget, and we'll
be adding a grid widget later. ;-)
> So is it possible to change the model used by a GtkTreeView after
> instantiation? Will the TreeView respond automatically, suddenly showing
> the new columns and rows properly?
Yep.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]