parameters: (self, oldWindow, newWindow)
docstring: Replaces `oldWindow` (which is currently being managed by the
          splitter) with `newWindow`.  The `oldWindow` window will still
          exist so you should `Hide` or `Destroy` it as needed.
  
          :param `oldWindow`: an instance of :class:`Window`;
          :param `newWindow`: another instance of :class:`Window`.
docstring_summary: Replaces `oldWindow` (which is currently being managed by the
          splitter) with `newWindow`.  The `oldWindow` window will still
          exist so you should `Hide` or `Destroy` it as needed.
docstring_tokens: Replaces oldWindow ( which is currently being managed by the splitter ) with newWindow . The oldWindow window will still exist so you should Hide or Destroy it as needed .
function: def ReplaceWindow(self, oldWindow, newWindow):
          """
          Replaces `oldWindow` (which is currently being managed by the
          splitter) with `newWindow`.  The `oldWindow` window will still
          exist so you should `Hide` or `Destroy` it as needed.
  
          :param `oldWindow`: an instance of :class:`Window`;
          :param `newWindow`: another instance of :class:`Window`.
          """
  
          assert oldWindow in self._windows, "Unknown window!"
          
          idx = self._windows.index(oldWindow)
          self._windows[idx] = newWindow
          
          self._SizeWindows()
function_tokens: def ReplaceWindow ( self , oldWindow , newWindow ) : assert oldWindow in self . _windows , "Unknown window!" idx = self . _windows . index ( oldWindow ) self . _windows [ idx ] = newWindow self . _SizeWindows ( )