def _save_window_layout(self, window):

        # Save the window layout.
        f = open(os.path.join(self.state_location, 'window_memento'), 'wb')
        cPickle.dump(window.get_memento(), f)
        f.close()

        return

    #### Trait change handlers ################################################
Save the window layout.
dataset/ETHPy150Open enthought/pyface/pyface/workbench/workbench.py/Workbench._save_window_layout