Peter Jay Salzman writes:
 > hi there,
 > 
 > i've seen a demo where an sdl screen is embedded in a gtk application.
 > it stikes me as being a Very Good Idea, making SDL widget libraries
 > obsolete.

 > is it possible to embed a ggi screen (sorry, i don't know the right term
 > here; i've never used ggi before) inside of a gtk application?  if so,
 > is there a code sample i can look at?

AFAIK a gtk widget has an associated gdk window which itself hides an X
window (maybe not still true for gtk 2). So it should be possible to
use ggi on this window by using the X/Xlib target with this window id.
See the x/xlib display doc on this.  

Another way is to write a ggi backend for gdk2. Which is maybe not too
complicated.

Eric.
-- 

Reply via email to