def _on_tree_sel_changed(self, event):

        # Trait notification.
        self.selection = self._get_selection()

        return
Called when the selection is changed.
dataset/ETHPy150Open enthought/pyface/pyface/viewer/tree_viewer.py/TreeViewer._on_tree_sel_changed