[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] placing a running program's output on a surface



Hi,

Look at the window ID stuff.

You can make SDL use a different window with SDL_WINDOWID.

To get the window id of an SDL window look in the pygame.display module.

With this method, you can get eg, mplayer to play in an SDL window.

cheers,


On Sun, Oct 19, 2008 at 5:33 AM, Knapp <magick.crow@xxxxxxxxx> wrote:
>
> Does anyone know if there is a way to get the output of a linux
> program onto a surface? For example, having Firefox run on a square
> that you could move around because it is a pygame surface?
>
> --
> Douglas E Knapp
>
> http://sf-journey-creations.wikispot.org/Front_Page