0

Hello,

I was wondering whether it was possible to embed something made with pygame, like some sort of animated display or bouncing ball whatever, into a Tkinter made window, with tkinter buttons/frames etc...

Anybody heard of this or know of if it can be done?

Thanks
a1eio

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by a1eio
0

Yes, it can be done, but I've never done it...

The toplevel window needs to have the -container flag and -use for the window ID of the SDL window.

However, PyGame wasn't really designed to coexist with other toolkits. See Why Gtk/Qt/WxWidgets... are bad.

Hope this helps.

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.