Renamed return value from Read call from button to event... EVERYWHERE

This commit is contained in:
MikeTheWatchGuy 2018-10-15 16:07:23 -04:00
parent 43526e0182
commit c79a8772cc
86 changed files with 7992 additions and 12709 deletions

View file

@ -886,10 +886,10 @@ canvas_elem = window.FindElement('canvas')
multiline_elem= window.FindElement('multiline')
while True:
button, values = window.Read()
print(button)
event, values = window.Read()
print(event)
# show it all again and get buttons
if button is None or button is 'Exit':
if event is None or event is 'Exit':
break
try: