[Tutor] Question about pygame/tkinter interaction

W W srilyk at gmail.com
Mon Jan 19 19:45:29 CET 2009


On Mon, Jan 19, 2009 at 12:05 PM, Steve Willoughby <steve at alchemy.com>wrote:

> Is it reasonable to expect that I could use Tkinter for
> everything else, but use pygame/pymedia to handle things like
> creating a video playback window on the screen, or is pygame
> going to want to run the whole GUI event loop and screen updates
> in competition with Tkinter?
>
> Any general nudges in the right direction would be appreciated.
> Thanks,
> steve
>

As far as I know it would be a fairly reasonable expectation - you would
simply hide the Tkinter screen when you show the pygame/pymedia window.
However, I'm not nearly as versed on any of the above as a lot of folks
here, so they may be able to confirm/contradict my advice.

But with my limited knowledge, that's probably how I'd do it (unless you
have a burning desire to learn pygame).

HTH,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090119/72b2ea83/attachment.htm>


More information about the Tutor mailing list