Re: Hiding individual TreeRows



On Fri, 2006-06-02 at 12:49 -0400, Matt Bragano wrote:
> Jonathon Jongsma wrote:
> > On 5/26/06, Murray Cumming <murrayc murrayc com> wrote:
> >>
> >> No, I think he needs Gtk::TreeModelFilter:
> >> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeModelFilter.html 
> >>
> >>
> >> Here's an example:
> >> http://cvs.gnome.org/viewcvs/gtkmm/examples/book/treeview/filter/
> >>
> >> I guess that Nautilus uses this.
> >
> No problem Jonner.  A little source browsing never hurt anybody.
> > Ahh, fantastic.  I'd never needed such a thing so I didn't realize it
> > existed.  Sorry for leading you in the wrong direction, Matt.
> >
> > Jonner
> >
> Thanks for the help.  The TreeModelFilter appears to do the trick, 
> although it is a little quirky.  Also, there is precious little in the 
> way of documentation about it.  Is there something in the works for 
> this?  I'd be willing to contribute when I get a better handle on how 
> the filter works.

It's not a very big class. But feel free to add documentation. There may
be more that we can take from the C documentation. Ask here if you have
any problems figuring out how to do that.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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