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:
parent
fe2a5b1dba
commit
a430c86ad2
3 changed files with 110 additions and 29 deletions
10
Demo High Level APIs.py
Normal file
10
Demo High Level APIs.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue