Re: Transparent background in window?
- From: Brett Granger <bdgranger alum mit edu>
- To: "Egon Andersen, Talura" <post talura dk>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: Transparent background in window?
- Date: Wed, 04 Sep 2002 09:55:05 -0400
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
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]