Refresh of ALL Demos in prep for 2.20 release

This commit is contained in:
MikeTheWatchGuy 2018-09-04 19:43:22 -04:00
parent e251bf1bf4
commit 8b78d6e955
24 changed files with 330 additions and 144 deletions

View file

@ -66,7 +66,7 @@ def RemoteControlExample():
# This is the code that reads and updates your window
button, values = form.ReadNonBlocking()
if button is not None:
sg.Print(button)
print(button)
if button == 'Quit' or values is None:
break
# time.sleep(.01)
@ -98,6 +98,7 @@ def StatusOutputExample_context_manager():
form.CloseNonBlockingForm()
def main():
StatusOutputExample()
RemoteControlExample()
StatusOutputExample()
sg.MsgBox('End of non-blocking demonstration')