I'm trying to create a window that can do multiple things e.g open a calculator, etc. I'm using Pygame to create the original window. The calculator is made with Tkinter and is fully functional. After a certain event:
t1 = Thread(target=i['function']())
t1.start()
this happens creating the calculator and the calculator works perfectly. However, the Pygame window won't take any input and won't allow me to open another calculator or even close the window. I would like to know if/how it's possible to make this work. Any help would be greatly appreciated.
target=i['function']()immediately callsi['function']()and then sets the return value as the target.(), assumingi['function']is actually a function.