Browse Source

PySimpleGUI

pull/140/head
Jure Šorn 1 year ago
parent
commit
d1a919fb1b
2 changed files with 2 additions and 0 deletions
  1. 1
      README.md
  2. 1
      index.html

1
README.md

@ -3486,6 +3486,7 @@ PySimpleGUI
```python ```python
# $ pip3 install PySimpleGUI # $ pip3 install PySimpleGUI
import PySimpleGUI as sg import PySimpleGUI as sg
layout = [[sg.Text("What's your name?")], [sg.Input()], [sg.Button('Ok')]] layout = [[sg.Text("What's your name?")], [sg.Input()], [sg.Button('Ok')]]
window = sg.Window('Window Title', layout) window = sg.Window('Window Title', layout)
event, values = window.read() event, values = window.read()

1
index.html

@ -2839,6 +2839,7 @@ line(df, x=<span class="hljs-string">'Date'</span>, y=<span class="hljs-string">
<div><h2 id="pysimplegui"><a href="#pysimplegui" name="pysimplegui">#</a>PySimpleGUI</h2><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install PySimpleGUI</span> <div><h2 id="pysimplegui"><a href="#pysimplegui" name="pysimplegui">#</a>PySimpleGUI</h2><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install PySimpleGUI</span>
<span class="hljs-keyword">import</span> PySimpleGUI <span class="hljs-keyword">as</span> sg <span class="hljs-keyword">import</span> PySimpleGUI <span class="hljs-keyword">as</span> sg
layout = [[sg.Text(<span class="hljs-string">"What's your name?"</span>)], [sg.Input()], [sg.Button(<span class="hljs-string">'Ok'</span>)]] layout = [[sg.Text(<span class="hljs-string">"What's your name?"</span>)], [sg.Input()], [sg.Button(<span class="hljs-string">'Ok'</span>)]]
window = sg.Window(<span class="hljs-string">'Window Title'</span>, layout) window = sg.Window(<span class="hljs-string">'Window Title'</span>, layout)
event, values = window.read() event, values = window.read()

Loading…
Cancel
Save