Renamed return value from Read call from button to event... EVERYWHERE
This commit is contained in:
parent
43526e0182
commit
c79a8772cc
86 changed files with 7992 additions and 12709 deletions
|
@ -6,6 +6,6 @@ layout = [[sg.Text('What is your name?')],
|
|||
|
||||
window = sg.Window('Title of Window').Layout(layout)
|
||||
|
||||
button, values = window.Read()
|
||||
event, values = window.Read()
|
||||
|
||||
sg.Popup('Hello {}'.format(values[0]))
|
Loading…
Add table
Add a link
Reference in a new issue