Re: Hidding TreeView rows

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

 



В Чтв, 28/09/2006 в 11:31 +0200, Murray Cumming пишет:> > 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/
Thanks, after some research and checking example I figured out how itshould work.
I guess, example is not written completelly right:1. Click checkbox on first row - it disappears, and second row goes up.2. Don't move mouse, just click checkbox on row that is under pointernow - first row appears again instead of current row disappears.
Regards,-andrew

_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux