Re: GTK / SDL bis

2001-06-22 Thread Iain Holmes
> In fact I would like to "include" a little SDL window in a > big GTK window. (by example to be able to play movies in my > GTK application) Okay, you can do it with the hack below, but you have to do the putenv hack *before* you call SDL_Init. Also from what I understood about SDL you can onl

Re: GTK / SDL bis

2001-06-19 Thread Ronald Bultje
raphi2 raph wrote: >sprintf(SDL_windowhack,"SDL_WINDOWID=-543170384", >GDK_WINDOW_XWINDOW(drawing_area->window)); > ?? How about: sprintf(SDL_windowhack,"SDL_WINDOWID=%d", GDK_WINDOW_XWINDOW(drawing_area->window)); Regards, Ronald __

GTK / SDL bis

2001-06-18 Thread raphi2 raph
Here is my problem again: I'm currently developping a GTK application and I need using SDL to improve my application. I saw an example of GTK + SDL program on www.libsdl.org but this example doesn't help me a lot. In fact I would like to "include" a little SDL window in a big GTK window. (by ex