code: def iter_create_windows(self, s):
          
          for i, wconf in enumerate(self.sconf['windows'], start=1):
              if 'window_name' not in wconf:
                  window_name = None
              else:
                  window_name = wconf['window_name']
  
              w1 = None
              if i == int(1):  # if first window, use window 1
                  w1 = s.attached_window
                  w1.move_window(99)
                  pass
  
              if 'start_directory' in wconf:
                  sd = wconf['start_directory']
              else:
                  sd = None
  
              if 'window_shell' in wconf:
                  ws = wconf['window_shell']
              else:
                  ws = None
  
              w = s.new_window(
                  window_name=window_name,
                  start_directory=sd,
                  attach=False,  # do not move to the new window
                  window_index=wconf.get('window_index', ''),
                  window_shell=ws,
              )
  
              if i == int(1) and w1:  # if first window, use window 1
                  w1.kill_window()
              assert isinstance(w, Window)
              s.server._update_windows()
              if 'options' in wconf and isinstance(wconf['options'], dict):
                  for key, val in wconf['options'].items():
                      w.set_window_option(key, val)
  
              if 'focus' in wconf and wconf['focus']:
                  w.select_window()
  
              s.server._update_windows()
  
              yield w, wconf
docs: Return :class:`libtmux.Window` iterating through session config dict.
  
          Generator yielding :class:`libtmux.Window` by iterating through
          ``sconf['windows']``.
  
          Applies ``window_options`` to window.
  
          Parameters
          ----------
          session : :class:`libtmux.Session`
              session to create windows in
  
          Returns
          -------
          tuple of (:class:`libtmux.Window`, ``wconf``)
              Newly created window, and the section from the tmuxp configuration
              that was used to create the window.