Re: Hidding TreeView rows



> Good day.
>
> Is there way to hide TreeView row?
>
> The main task is implementing filter on data representing as Tree
> structure. So, only rows that match filter should appear.
>
> But if we will filter data itlself we might lose parent -> child
> connection and cannot build tree properly.
>
> So, I would just hide rows that doesn't match filter.

TreeModelFilter:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeModelFilter.html

http://cvs.gnome.org/viewcvs/gtkmm/examples/book/treeview/filter/

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]