Hi,

"suriya  mohan" <[EMAIL PROTECTED]> writes:

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

huh? What made you think it would work that way?

> Also tried with 
>
>  [EMAIL PROTECTED] buttons]# ./buttons --transparent-unfocused.

That should work but it will of course only make the unfocused window
transparent (as seen in the screenshot). If you only have a single
window, it will never loose focus.

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

You are aware that you need to recompile gtk+-directfb after that
change?!

> 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.

Sorry, but I don't understand what you are trying to achieve. If you
need an invisible window to catch events, you don't need to use
transparency. X11 as well as DirectFB both offer input-only windows
that don't have a surface but catch events. So you could do this with
standard GTK+/GDK or using the XLib or DirectFB APIs.


Sven


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to