Computer Science Canada

Python: Pygame and Tkinter

Author:  neufelni [ Mon May 01, 2006 11:16 am ]
Post subject:  Python: Pygame and Tkinter

With Python, how can I use GUI with Tkinter, and pygame in the same window? To open a window using pygame you do this:
code:

window = pygame.display.set_mode((500,500))

But to open a window to use Tkinter you do this:
code:

window = Tk()

How can I use GUI within the pygame window?


: