cprint - c / colors parameter can be tuple or a string with format "text on text"

This commit is contained in:
PySimpleGUI 2020-06-27 12:38:21 -04:00
parent 81ccd9d54e
commit baf339ad4e
2 changed files with 18 additions and 6 deletions

View file

@ -19,7 +19,7 @@ import PySimpleGUI as sg
def main():
MLINE_KEY = '-ML-'+sg.WRITE_ONLY_KEY # multiline element's key. Indicate tis'an output only element
MLINE_KEY = '-ML-'+sg.WRITE_ONLY_KEY # multiline element's key. Indicate it's an output only element
layout = [ [sg.Text('Multiline Color Print Demo', font='Any 18')],
[sg.Multiline(size=(80,20), key=MLINE_KEY)],