Thanks for the quick response. I’m new to Panda and didn’t get very far.
Mostly I just poked at TkGlobal.py
def tkLoop(self):
# Do all the tkinter events waiting on this frame
# dooneevent will return 0 if there are no more events
# waiting or 1 if there are still more.
# DONT_WAIT tells tkinter not to block waiting for events
while tkinter.dooneevent(tkinter.ALL_EVENTS | tkinter.DONT_WAIT):
pass
# Run forever
return Task.cont
If you get rid of DONT_WAIT the TkinterGUI seems to work, but it blocks the main loop and breaks the rendering.
If you print out dooneevent you will see it mostly prints ‘0’.
I think this suggests events are getting consumed elsewhere before TkinterGUI get s a chance to process them.