Re: Adding GtkTreeStore columns after instantiation.
- From: murrayc t-online de (Murray Cumming)
- To: Havoc Pennington <hp redhat com>
- 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 18:51:31 +0100
On Sun, 2001-11-04 at 18:30, Havoc Pennington wrote:
>
> 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. ;-)
Why isn't it, and how will a grid widget be different?
> > 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
>
>
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]