Demo of new color format "fg on bg"

This commit is contained in:
PySimpleGUI 2020-06-27 12:40:03 -04:00
parent baf339ad4e
commit a63d274b91
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def main():
event, values = window.read()
if event == sg.WIN_CLOSED or event == 'Exit':
break
sg.cprint(event, values)
sg.cprint(event, values, colors='white on red')
if event == 'Print':
sg.cprint(values['-IN-'], text_color=values['-TEXT COLOR-'], background_color=values['-BG COLOR-'])
elif event == 'Print short':