Skip to content
Advertisement

Tag: popupwindow

Force overlay a PySimpleGUI window

I just want that if someone tries to close the GUI window using close button instead of clicking “OK”, the window reappears… In simple words, they cannot close this one or access any other window without clicking “OK”. Answer It is defined in source code of PySimpleGUI. You can change it to generate an event “WIN_CLOSE”, like this

Advertisement