def set_orientation(self, orientation, sh_guard=True):
        if sh_guard:
            with size_hint_guard(self):
                self.widget.setOrientation(ORIENTATION[orientation])
        else:
            self.widget.setOrientation(ORIENTATION[orientation])
Update the orientation of the QSplitter.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_splitter.py/QtSplitter.set_orientation