def _start_monitor(self, monitor):

        monitor.on_trait_change(
            self._on_nodes_changed, 'nodes_changed'
        )

        monitor.on_trait_change(
            self._on_nodes_inserted, 'nodes_inserted'
        )

        monitor.on_trait_change(
            self._on_nodes_removed, 'nodes_removed'
        )

        monitor.on_trait_change(
            self._on_nodes_replaced, 'nodes_replaced'
        )

        monitor.on_trait_change(
            self._on_structure_changed, 'structure_changed'
        )

        monitor.start()

        return
Starts a monitor.
dataset/ETHPy150Open enthought/pyface/pyface/tree/node_tree_model.py/NodeTreeModel._start_monitor