MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / second_window

Function second_window

DemoPrograms/Demo_Menus.py:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def second_window():
17
18 layout = [[sg.Text('The second form is small \nHere to show that opening a window using a window works')],
19 [sg.OK()]]
20
21 window = sg.Window('Second Form', layout)
22 event, values = window.read()
23 window.close()
24
25
26def test_menus():

Callers 1

test_menusFunction · 0.70

Calls 2

readMethod · 0.95
closeMethod · 0.95

Tested by 1

test_menusFunction · 0.56