[SDL] SDL and GTK in one window...

Bart Kelsey kelsey.14 at osu.edu
Fri Apr 25 13:27:03 PDT 2003


First off, apologies for asking a question that's probably been asked 
before, but I can't find a good answer anywhere.

Anyway, I'm trying to figure out how to put an SDL window inside a GTK 
window.  The few clues I've found are that GTK has EventBox and draw box 
widgets that have their own X window ID, which should be "passed to 
SDL".  My question is this:  How, exactly, do I get this X Window ID, 
and then how do I go about "passing" it to SDL?

Also, I've seen stuff about conflicts in event handling (mouse clicks 
and stuff like thatbetween SDL and GTK.  Is there a way to avoid these 
conflicts?

Thanks,
Bart







More information about the SDL mailing list