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
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue