From 4b6a09b67d6e969beab83b817d1331e2f44334e9 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Mon, 2 Dec 2019 19:11:48 -0500 Subject: [PATCH] Change to test harness to demonstrate multi-color debug prints --- PySimpleGUI.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index ff577c8b..e6853252 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 from tables.tests.test_backcompat import BackCompatAttrsTestCase -version = __version__ = "4.7.1.4 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" +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" port = 'PySimpleGUI' # 888888ba .d88888b oo dP .88888. dP dP dP @@ -12372,8 +12372,8 @@ def main(): event, values = window.Read(timeout=5) if event != TIMEOUT_KEY: print(event, values) - Print(event, location=(0,0), font='Courier 8', size=(60,15), grab_anywhere=True, text_color='green', background_color='white') - Print(values, location=(0,0), font='Courier 8', size=(60,15), grab_anywhere=True, text_color='blue', background_color='white') + 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) if event is None or event == 'Exit': break if i < 800: