Skip to content
Permalink
Browse files

Opened debug window right away in the test harness to simplify the pr…

…int statements.
  • Loading branch information
PySimpleGUI committed Dec 3, 2019
1 parent 4b6a09b commit c74e8b3854f21f0083ce4989fcd46903a51216cd
Showing with 4 additions and 3 deletions.
  1. +4 −3 PySimpleGUI.py
@@ -1,7 +1,7 @@
#!/usr/bin/python3
from tables.tests.test_backcompat import BackCompatAttrsTestCase

version = __version__ = "4.7.1.5 Unreleased - included 4.7.1 patch, ability to update ttk buttons, images for ttk buttons, CURRENT_LOOK_AND_FEEL variable, Multiline colored text (FINALLY), experimental gray window warning/nag, Print/Easyprint multiple color output"
version = __version__ = "4.7.1.6 Unreleased - included 4.7.1 patch, ability to update ttk buttons, images for ttk buttons, CURRENT_LOOK_AND_FEEL variable, Multiline colored text (FINALLY), experimental gray window warning/nag, Print/Easyprint multiple color output"
port = 'PySimpleGUI'

# 888888ba .d88888b oo dP .88888. dP dP dP
)
# graph_elem.DrawCircle((200, 200), 50, 'blue')
i = 0
Print('',location=(0,0), font='Courier 12', size=(60,15), grab_anywhere=True)
while True: # Event Loop
event, values = window.Read(timeout=5)
if event != TIMEOUT_KEY:
print(event, values)
Print(event, location=(0,0), font='Courier 12', size=(60,15), grab_anywhere=True, text_color='green', background_color='white', end='')
Print(values, location=(0,0), font='Courier 12', size=(60,15), grab_anywhere=True)
Print(event, text_color='green', background_color='white', end='')
Print(values)
if event is None or event == 'Exit':
break
if i < 800:

0 comments on commit c74e8b3

Please sign in to comment.
You can’t perform that action at this time.