I'm trying to make a game with pygame
module and I want it to be inside tkinter
window because I need to use buttons and dropdown menus for the game. I'm looking all over the internet for past few days and all code examples are not working for me, I guess because they are outdated... I really need help just on how to put pygame
window into tkinter
window (they need to be one window).
Asked
Active
Viewed 41 times
0

BokiX
- 412
- 2
- 14
-
2Embedding a pygame window in a Tkinter frame does not work on Windows systems with Pygame 2. See [Using 'SDL_WINDOWID' does not embed pygame display correctly into another application #1574](https://github.com/pygame/pygame/issues/1574). – Rabbid76 Jan 13 '22 at 09:16
-
1It has been discussed in this [question](https://stackoverflow.com/questions/65735496/tkinter-and-pygame-do-not-want-to-work-in-one-window). – acw1668 Jan 13 '22 at 10:23