Readme updates. Button color

Still working on completing the Readme.  Changed the global button colors to white on black, the new signature for PySimpleGUI.
This commit is contained in:
MikeTheWatchGuy 2018-07-13 10:53:50 -04:00
parent fe2a5b1dba
commit a430c86ad2
3 changed files with 110 additions and 29 deletions

10
Demo High Level APIs.py Normal file
View file

@ -0,0 +1,10 @@
import PySimpleGUI as sg
rc, number = sg.GetTextBox('Title goes here', 'Enter a number')
if not rc:
sg.MsgBoxError('You have cancelled')
exit(0)
msg = '\n'.join([f'{i}' for i in range(0,int(number))])
sg.ScrolledTextBox(msg, Height=10)