Is it possible to filter a NodeStore/NodeView in the same manner as with
a TreeFilter?

Of course, just trying to cast things doesn't work;  which was expected.

function(Gtk.NodeStore nodeStore, Gtk.NodeView toDoView)
{
  TreeModelFilter nodeFilter;
 
  nodeFilter = new Gtk.TreeModelFilter(nodeStore, null);        
  nodeFilter.VisibleFunc = 
    new Gtk.TreeModelFilterVisibleFunc(FilterToDo);
  toDoView.NodeStore = (NodeStore)nodeFilter;
}

Do I need to recode everything as a ListStore?

gtk-sharp2-2.8.3-33


_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to