code: def iter_editorstacks(self):
          
          editorstacks = [(self.widget(0), self.orientation())]
          if self.count() > 1:
              editorsplitter = self.widget(1)
              editorstacks += editorsplitter.iter_editorstacks()
          return editorstacks
docs: Return the editor stacks for this splitter and every first child.
  
          Note: If a splitter contains more than one splitter as a direct
                child, only the first child's editor stack is included.
  
          Returns:
              List of tuples containing (EditorStack instance, orientation).