On 04-Sep-2002 Brett Granger wrote: > > 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)...
Hi, this is not correct: when working with pure X11, you can use the Nonrectangular Window Shape Extension which will be provided by #include <X11/extensions/shape.h> which is part of Xfree86: /usr/X11R6/include/X11/extensions There is a good manual concerning this item: X11 NONRECTANGULAR WINDOW SHAPE EXTENSION made by Keith Packard (X Consortium) You will find the document for ex. in nscp.upenn.edu/aix4.3html/x11/specs/pdf/shape.PDF Regards Joachim Backes -- Joachim Backes <[EMAIL PROTECTED]> | Univ. of Kaiserslautern Computer Center, High Performance Computing | Phone: +49-631-205-2438 D-67653 Kaiserslautern, PO Box 3049, Germany | Fax: +49-631-205-3056 ---------------------------------------------+------------------------ WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html > > 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 _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list