0

Hi,

Is it possible to embed something made with pygame, like some sort of animated display or bouncing ball... into a Tkinter made window, with tkinter buttons/frames etc...
If yes, then may you please tell me how can i do that?

Thanks

3
Contributors
2
Replies
4
Views
4 Years
Discussion Span
Last Post by vegaseat
Featured Replies
  • 1

    You can use certain pygame modules like the pygame mixer with Tkinter to play sounds. However, IMHO for the application you want to use the pygame and the Tkinter **event loops** will clash. You may have to use module **threading** to make this go. Read More

0

if you want to display a bouncing ball or something simple the tkinter library uses .gif images, so you could create a gif of that if you absoulutly need it to be made in Pygame i cant help you there.

1

You can use certain pygame modules like the pygame mixer with Tkinter to play sounds.
However, IMHO for the application you want to use the pygame and the Tkinter event loops will clash.
You may have to use module threading to make this go.

Edited by vegaseat

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.