The Tree module exports the TreeNode class which implements a tree display in Tk or QTk canvases. Tree nodes can be dynamically added, removed, collapsed, expanded or reconfigured. Icons can be displayed in front of nodes labels, event different icons can be specified to reflect if the node is expanded or not. A rectangle can be displayed around the node, to display it as selected.