Re: GtkTreeView column-changed?



On Tue, Oct 09, 2001 at 11:48:43PM -0400, Jonathan Blandford wrote:
> vishnu pobox com writes:
> > i'm using the array-based model which we discussed before.  There is
> > one pointer for each row.  i use gtk_tree_view_insert_column_with_data_func
> > for each column, doing various transformations on the data to present
> > it to the user.
> > 
> > In this particular case, i have one column which is dependent on
> > global state QZ and one column which does not depend on QZ.  So when
> > QZ changes, i know only one column need to be redrawn
> > 
> > It's not a big deal, but you should know all the use-cases.
> 
> Well, the point of the GtkTreeModel interface is to let the GtkTreeView
> know when the model changes.  It seems like you are trying to work
> around it as much as possible.  Exactly how big is your model?

Pretty small.  It's about 1000 rows now, but will probably never
be more than 10000 rows.  i'm not really trying to optimize for
speed.  i'm just trying to write clear, clean, simple code.  

-- 
Victory to the Divine Mother!!
  http://sahajayoga.org




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]