Hello Tutor,

     Quick question. Working on a new game and want to build in a GUI.
TkInter seems to fit the bill except for one small item. Both Pygame and
TkInter create windows. (Screen in Pygame, and the Root widget in TkInter)
Is there a way to combined these two so I can use all my Pygame sprites and
objects and any TkInter bars and buttons all in one screen? My best guess
would be something along this line.

screen = pygame.display.set_mode((640, 420))
root = Tk(screen)

or maybe this...

screen = Tk(pygame.display.set_mode((640, 420))

I really just need Tkinter for some easy buttons and stuff, everything else
I can do in Pygame. Any thoughts? Thanks for the assist.

Greg
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to