I am working on a multi window game app where I need to handle some button presses. One thing I would like to do is to display a massage box over one of these windows.
However, the tkinter GUI thread is separate from the button event thread. Attempting to access any GUI objects from the button event issues a runtime error.
How would one synchronize these threads? How would my nominal main thread know when this button has been pressed?
However, the tkinter GUI thread is separate from the button event thread. Attempting to access any GUI objects from the button event issues a runtime error.
How would one synchronize these threads? How would my nominal main thread know when this button has been pressed?