Major update of all demo programs to use new PEP8 bindings, etc
This commit is contained in:
parent
3f7c87c562
commit
7f52778bcc
307 changed files with 19546 additions and 3297 deletions
11
DemoPrograms old/Demo_YouTube_Intro.py
Normal file
11
DemoPrograms old/Demo_YouTube_Intro.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import PySimpleGUI as sg
|
||||
|
||||
layout = [[sg.Text('What is your name?')],
|
||||
[sg.InputText()],
|
||||
[sg.Button('Ok')]]
|
||||
|
||||
window = sg.Window('Title of Window').Layout(layout)
|
||||
|
||||
event, values = window.Read()
|
||||
|
||||
sg.Popup('Hello {}'.format(values[0]))
|
Loading…
Add table
Add a link
Reference in a new issue