original_docstring: Wait for a window to be displayed.
  
      This method should be called on already activated windows (the show method
      should have been called).
  
      
docstring: Wait for a window to be displayed.
  This method should be called on already activated windows (the show method
  should have been called).
docstring_tokens: Wait for a window to be displayed . This method should be called on already activated windows ( the show method should have been called ) .
code: def wait_for_window_displayed(qtbot, window, timeout=1000):
      """Wait for a window to be displayed.
  
      This method should be called on already activated windows (the show method
      should have been called).
  
      """
      if not window.proxy_is_active or not window.proxy.widget:
          msg = 'Window must be activated before waiting for display'
          raise RuntimeError(msg)
      qtbot.wait_exposed(window.proxy.widget)
code_tokens: def wait_for_window_displayed ( qtbot , window , timeout = 1000 ) : if not window . proxy_is_active or not window . proxy . widget : msg = 'Window must be activated before waiting for display' raise RuntimeError ( msg ) qtbot . wait_exposed ( window . proxy . widget )
short_docstring: Wait for a window to be displayed.
short_docstring_tokens: Wait for a window to be displayed .
comment: """Wait for a window to be displayed.
  
      This method should be called on already activated windows (the show method
      should have been called).
  
      """