Collapse all nodes in the outline view tree.
Determine if the current widget is the outline-view.
outline-view
Collapse all nodes in the outline view tree.