@staticmethod
    def changeLayout(layoutNumber):
        applicationLogic = slicer.app.applicationLogic()
        interactionNode = applicationLogic.GetInteractionNode()
        interactionNode.Reset()
        layoutManager = slicer.app.layoutManager()
        layoutManager.setLayout(layoutNumber)
        # Call this function to force the refresh of properties like the field of view of the sliceNodes
        slicer.app.processEvents()
yields a (filePath, package, user, group, mode, mtime) tuple
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/logic/SlicerUtil.py/SlicerUtil.changeLayout--crossover with--dataset/ETHPy150Open sassoftware/conary/conary/build/recipe.py/Recipe._iterCapsulePathData