Latest updates from Tony

This commit is contained in:
MikeTheWatchGuy 2018-11-13 10:33:55 -05:00
parent 3b63c8213c
commit b5e001dabc
93 changed files with 2579 additions and 52 deletions

View file

@ -0,0 +1,22 @@
#PySimple examples (v 3.9)
#Tony Crewe
#Oct 2018 MacOs
import PySimpleGUI as sg
tab1_layout = [[sg.Text('This is inside tab 1')]]
tab2_layout = [[sg.Text('This is inside tab 2')]]
layout = [[sg.TabGroup([[sg.Tab('Tab 1', tab1_layout),
sg.Tab('Tab 2', tab2_layout)]])],
[sg.ReadButton('Read')]]
window = sg.Window('Main Window').Layout(layout)
while True:
b, v = window.Read()
if b is not None:
print(b,v)
else:
break