PySimpleGUI/docs/eCookbook/multiple-windows/two-windows-with-re-open.md

14 lines
616 B
Markdown

## Multiple Windows - Re-open Capability
This demo uses the `read_all_windows` function (avilable only on the tkinter port currently)
Each window has the ability to update the other. Additionally, Window 1 has a button to re-open Window 2 should you close Window 2.
Here is how the program looks on Windows
![Two Windows with Re-open.gif](/api/files/5f2d3ecc47d1fc1c1a5067c8/two-windows-with-re-open.gif "Two Windows with Re-open.gif")
<iframe src='https://trinket.io/embed/pygame/a14c1b2d78?start=result' width='100%' height='500' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>