Merge pull request #1214 from PySimpleGUI/Dev-latest

Removed comment code that fails in 2.7
This commit is contained in:
MikeTheWatchGuy 2019-03-09 15:09:48 -05:00 committed by GitHub
commit ffbe34b9b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 14 deletions

View File

@ -81,7 +81,7 @@ def the_gui(gui_queue):
window = sg.Window('Multithreaded Window').Layout(layout) window = sg.Window('Multithreaded Window').Layout(layout)
# --------------------- EVENT LOOP --------------------- # --------------------- EVENT LOOP ---------------------
while True: while True:
event, values = window.Read(timeout=100) # wait for up to 100 ms for a GUI event event, values = window.Read(timeout=100) # wait for up to 100 ms for a GUI event from user
if event is None or event == 'Exit': if event is None or event == 'Exit':
break break
#--------------- Loop through all messages coming in from threads --------------- #--------------- Loop through all messages coming in from threads ---------------

View File

@ -4788,19 +4788,15 @@ else:
# My crappy tkinter code starts here # My crappy tkinter code starts here
# ░░░░░░░░░░░█▀▀░░█░░░░░░ """
# ░░░░░░▄▀▀▀▀░░░░░█▄▄░░░░ )
# ░░░░░░█░█░░░░░░░░░░▐░░░ (
# ░░░░░░▐▐░░░░░░░░░▄░▐░░░ ,
# ░░░░░░█░░░░░░░░▄▀▀░▐░░░ ___)\
# ░░░░▄▀░░░░░░░░▐░▄▄▀░░░░ (_____)
# ░░▄▀░░░▐░░░░░█▄▀░▐░░░░░ (_______)
# ░░█░░░▐░░░░░░░░▄░█░░░░░
# ░░░█▄░░▀▄░░░░▄▀▐░█░░░░░ """
# ░░░█▐▀▀▀░▀▀▀▀░░▐░█░░░░░
# ░░▐█▐▄░░▀░░░░░░▐░█▄▄░░░
# ░░░▀▀▄░░░░░░░░▄▐▄▄▄▀░░░
# ░░░░░░░░░░░░░░░░░░░░░░░
# ======================== TK CODE STARTS HERE ========================================= # # ======================== TK CODE STARTS HERE ========================================= #