def _create_lhs(self, parent):

        self._tree_viewer = FileTreeViewer(
            parent, input=os.path.abspath(os.curdir), sorter=FileSorter()
        )

        self._tree_viewer.on_trait_change(self._on_tree_anytrait_changed)

        return self._tree_viewer.control
Creates the left hand side or top depending on the style.
dataset/ETHPy150Open enthought/pyface/examples/tree_viewer.py/MainWindow._create_lhs