[Tutor] Can I use TKInter and Pygame together?
dyoo at hkn.eecs.berkeley.edu
Sun Nov 13 05:34:09 CET 2005
On Sat, 12 Nov 2005, Nathan Pinno wrote:
> Can I use Pygame and TKInter together in the same application? I want to
> use TKInter for the message boxes, and Pygame for the actual game
> interface, but is this possible?
Yes; here's a link to an example that combines both Tkinter and Pygame.
(It appears to be a chapter out of Deitel & Deitel's "Python How to
... oh, I forgot! This question came up about three years ago. Ah, found
it. Here you go:
It's probably a good idea to talk with the pygame folks to integrate
pygame-controlled widgets with tkinter-controlled widgets.
Best of wishes!
More information about the Tutor