Tristan Van Berkom 写道:
> On Jan 23, 2008 7:03 AM, Skee Lin <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi everybody,
>     I'm trying to create a transparent window to show some
>     informations, and
>     it's always on top.
>     Does anybody know how to let the mouse messages through? For instance,
>     when I click on the window, I actually click on the desktop(if
>     there are
>     no other windows).
>
>
> I think you can accomplish this with gdk_window_shape_combine_mask ()
>
> http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#gdk-window-shape-combine-mask
>
> Cheers,
> -Tristan
>
I really appreciate the helpful reply from Tristan. However, there is 
another problem that does irregular window occupy much cup time?
I want to create a window to show lyrics of songs. User can move the 
window by clicking on the text while clicking on the other areas will be 
send to lower window. I think cairo can convert the text to pixmap mask, 
but I'm afraid the nonstop changing of the shape will occupy much cpu time.
Maybe I need to describe my problem more simply: How to show a window 
and let all clicking messages through, just like the window is not exist?
Any information would be appreciated.**
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to