code: def panes(self):
          " List with all panes from this Window. "
          result = []
  
          for s in self.splits:
              for item in s:
                  if isinstance(item, Pane):
                      result.append(item)
  
          return resulf panes(self):
          " List with all panes from this Window. "
          result = []
  
          for s in self.splits:
              for item in s:
                  if isinstance(item, Pane):
                      result.append(item)
  
          return result
docs: List with all panes from this Window.