GncTreeView

Chris Shoemaker c.shoemaker at cox.net
Wed Jun 8 21:10:20 EDT 2005


On Tue, Jun 07, 2005 at 07:04:33PM -0400, David Hampton wrote:
> On Tue, 2005-06-07 at 17:10 -0400, Chris Shoemaker wrote:
> >    Something like gnc_tree_view_new() or
> > gnc_tree_view_new_with_model(), would be convenient.  It seems almost
> > conventional in gtk.
> 
> That's true in cases where the the model (or whatever) is optional.  At
> the moment I think the GncTreeView code pretty much still requires you
> to have a model.  (Just adding the second function should be trivial,
> though.)

yup.

> 
> >         Does the second-to-last column have to be visible by default?
> 
> Yes.  Its sole purpose is to take up any slack space if the window is
> expanded wider than the current contents of the window, and it has a
> minimum width of zero.  Without it, when you expand the window too wide
> the GtkTreeView code will expand the size of the final column containing
> the pulldown button.
> 
> What's the problem you're seeing?

no problem.  I just misunderstood its behavior.  It seems to function
correctly.

-chris

> 
> David
> 
> 


More information about the gnucash-devel mailing list