Closed Aareon closed 3 months ago
The library PySimpleGui does not support being sub-threaded. Applications may use threads, but PySimpleGui must not be called by any thread other than the "main" thread.
PySimpleGui
Optimally, it should be as simple as combining the run and _main functions inside App and remove the gui_thread in lieu of simply calling App.run()
run
_main
App
gui_thread
App.run()
Abandoned
The library
PySimpleGui
does not support being sub-threaded. Applications may use threads, butPySimpleGui
must not be called by any thread other than the "main" thread.