Hi,
   I tried running gtk+-directfb as per u'r suggestion.

 I executed gtk+-directfb example program with the command line option 
as follows.

 [EMAIL PROTECTED] buttons]# ./buttons --dfb:-translucent-windows. 

Also tried with 

 [EMAIL PROTECTED] buttons]# ./buttons --transparent-unfocused.

And also uncommented the line that says "#define DECORATE_WINDOWS" in 
gtk/gtkwindow-decorate.c to draw window decorations using GTK+.

Even after completing the above two steps the "gtk window" is not 
transparent and not decorated with maximize, minimize and close 
button. Also after running the example program in "gtk+-directfb" the 
program does not quits.

What i have to do is to have a "JPG" picture at background and "gtk+ 
window" at foreground in such a way even after placing the "gtk+ 
window" over the "JPG" picture, the "JPG" picture should be visible. 
For this we have to make the "gtk+ window" translucent still 
supporting all events.

I can able to place the "JPG" picture using DirectFB.

Is it possible to combine the "DirectFB" code and "gtk+-directfb" code 
to solve the aforesaid problem ? If so how to compile the same? I can 
able to compile "gtk+-directfb" programs with following syntax.

gcc helloworld2.c -o helloworld2 `pkg-config gtk+-2.0 --cflags
--libs`


Reply via email to