Hi,

Xiong Huan <[EMAIL PROTECTED]> writes:

> Then I tried some widgets that definitely has their own windows(eg.,
> GtkList and GtkListItem). However, when I tried to call
> gdk_directfb_window_set_opacity() to set them semi-transparent, it
> didn't work again.

I thought I had explained that gdk_directfb_window_set_opacity() can
only work on toplevel windows. It's a GDK wrapper for
IDirectFBWindow::SetOpacity and in DirectFB all windows are toplevel
windows.

If you want to modify the look of GTK+ widgets, such as buttons, I
suggest you use or modify an existing GTK+ theme. The directfb-pixbuf
engine should give you an idea of how to write a GTK+ theme that makes
use of alpha-blending and other DirectFB features.


Sven



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

Reply via email to