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
|
@ -33,7 +33,7 @@ window = sg.Window('My window with tabs', default_element_size=(12,1)).Layout(la
|
|||
print('Are there enough tabs for you?')
|
||||
|
||||
while True:
|
||||
button, values = window.Read()
|
||||
print(button,values)
|
||||
if button is None: # always, always give a way out!
|
||||
event, values = window.Read()
|
||||
print(event, values)
|
||||
if event is None: # always, always give a way out!
|
||||
break
|
Loading…
Add table
Add a link
Reference in a new issue