Though I keep hoping somebody will be able to explain to me otherwise, 
there does not appear to be any way to make top level X windows 
transparent or translucent with the stock GTK (due to a limitation in X 
itself, I believe)...

However, if all you want is the shape, and the contents don't need to be 
transparent then take a look at gtk_widget_shape_combine_mask -- 
http://developer.gnome.org/doc/API/2.0/gtk/gtkwidget.html#gtk-widget-shape-combine-mask

--Brett


Egon Andersen, Talura wrote:
> Hi,
> 
> Is it possible to make the background in a window transparent?
> The reason that I ask is that I have made a splash screen with an image 
> that is not rectangular (transparent background) and I would like the 
> window to appear as having the same shape as the image.
> I've been looking at gtk_style family, but I haven't found the solution.
> 
> Any hints?
> 
> Best regards
> Egon Andersen
> 
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to