cprint - c / colors parameter can be tuple or a string with format "text on text"
This commit is contained in:
parent
81ccd9d54e
commit
baf339ad4e
2 changed files with 18 additions and 6 deletions
|
@ -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)],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue