filter nodes in a TreeEditor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

filter nodes in a TreeEditor

_jelle_
I'm wondering how to go about filtering a TreeEditor, such that only nodes
 that have X condition are viewed. Honestly, I'm not yet traitsui expert enough
 to implement this. My guess is that I need to add some methods to
TreeNodeObject ( eg treenode.can_show_node ) and TreeEditor
 ( eg tree_editor.filter_nodes ). Perhaps someone might be able to steer me in
 the right direction?

Thanks,

-jelle

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev