Lane LiaBraaten <ll******@isrparc.org> wrote in message news:<ma************************************@pytho n.org>...
Does anyone know a way to insert a pygame surface into a tkinter gui?
I am writing a program similar to a mpeg player, i.e. i need the mpeg pla
ying
capabilities of pygame and the gui stuff from tkinter.
See this page for how to do that in WxPython:
http://wiki.wxpython.org/index.cgi/IntegratingPyGame
To translate that code to Tkinter, you would use frame.winfo_id() to
get the window handle instead of wxpython's GetHandle().
But these are both basically just hacks. Options for multimedia
playing/editing are slim in python. You might use Java instead (see
jython), using either the java media framework or quicktime for java
(latter doesn't work on Linux).