Demo updates with new theme calls
This commit is contained in:
parent
52700b0780
commit
5484b047c0
96 changed files with 3530 additions and 228 deletions
|
@ -8,13 +8,14 @@ import PySimpleGUI as sg
|
|||
# Design pattern 2 - First window remains active
|
||||
|
||||
layout = [[ sg.Text('Window 1'),],
|
||||
[sg.Input('')],
|
||||
[sg.Input()],
|
||||
[sg.Text('', size=(20,1), key='-OUTPUT-')],
|
||||
[sg.Button('Launch 2'), sg.Button('Exit')]]
|
||||
|
||||
window1 = sg.Window('Window 1', layout)
|
||||
|
||||
window2_active = False
|
||||
|
||||
while True:
|
||||
event1, values1 = window1.read(timeout=100)
|
||||
window1['-OUTPUT-'].update(values1[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue