Re: Hiding individual TreeRows



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.


Thanks again,
Matt



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