title: PySimpleGUI: How can I display a result in my window?
body: <p>How can I display a result in a window?
  I'm using PySimpleGUI to make user interface and I'm trying to display the result in the window. I was using <code>sg.Output()</code> but I didn't like the look.</p>
  <pre><code>import PySimpleGUI as sg
  
  layout = [
           [sg.Text(&quot;Name: &quot;), sg.Input()],
           [sg.Ok()]
  ]
  
  window = sg.Window(&quot;Just a window&quot;, layout)
  
  while True:
      events, values = window.read()
      name = values[0]
  </code></pre>
  <p>Now, how can I display the name in the window as a text? I don't want to use <code>sg.Output()</code>.</p>