I have a small program that I'm trying to integrate a Tk Form with PyGame. I am able to draw a pygame screen and a Tk form, but the two don't work well together. I am having a couple of problems. This is attached as a simple example to draw a circle at X,Y with a specific radius.
1. No Screen Refresh - When I drag the Tk form over the game field, it erases the game field. How can I fix this? My gut says this is a threading problem, but I don't know how to deal with it.
2. How does the form see the pygame elements in order to plot the circle where I want it?
Any expert advice on how to elegantly integrate Tk with pygame is appreciated.