tree-mode.el provide more commands to tree-widget.
tree-mode-next-node- Move to next node.
tree-mode-previous-node- Move to previous node
tree-mode-next-sib- Move to next sibling node.
tree-mode-previous-sib- Move to previous sibling node.
tree-mode-goto-parent- Move to parent node.
tree-mode-goto-root- Move to root node
tree-mode-reflesh- Reflesh parent tree. useful restore after sort or delete node
tree-mode-toggle-expand- Expand or contract tree at point. With prefix argument, expand the tree.
tree-mode-expand-level- Expand tree to LEVEL. With prefix argument 0 or negative, will expand all leaves of the tree.
tree-mode-sort-by-tag- Sort children node by tag.
tree-mode-keep-match- Keep node which tag match REGEXP
tree-mode-collapse-other-except- Collapse other trees. If the tree at point is contract, expand it.
tree-mode-delete-tree- Delete a tree from buffer.
The icon for push-button in tree-widget is limited 4 types: open, close, empty and leaf. tree-mode provide a method to settup icon of push-button by put an addition attribute :button-icon in tree-widget node.