Peter Jay Salzman <[EMAIL PROTECTED]> wrote:
> 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?

I've done something pretty similar before. Basically you just need to get
at the window-ID of the given widget part. I've used it to run a LibGGI
application on a shaped icon on a gnome desktop.

I just asked xwininfo for the window-ID and then started the application
with GGI_DISPLAY="X:-inwin=windowid".

Looked very funny such a shaped and animated icon ...


CU, Andy

-- 
Andreas Beck             |  Email :  <[EMAIL PROTECTED]>

Reply via email to