Merge pull request #2296 from PySimpleGUI/Dev-latest
Opened debug window right away in the test harness to simplify the pr…
This commit is contained in:
commit
e38438221b
|
@ -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
|
||||
|
@ -12368,12 +12368,13 @@ def main():
|
|||
)
|
||||
# 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:
|
||||
|
|
Loading…
Reference in New Issue