Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!dutrun!dutnak2!jwdb From: jwdb@dutnak2.tudelft.nl (Jan Willem de Bruijn) Newsgroups: comp.windows.x Subject: Is a transparent background possible? Summary: trying to get transparent windows (or widgets) Keywords: Xtoolkit background transparent Message-ID: Date: 30 Aug 90 13:22:46 GMT Sender: news@dutrun.UUCP Lines: 23 Has anyone ever managed to create transparent windows (or widgets) using the Xtoolkit? It says in the Intrinsics Programming Manual that the background attribute of a window can be transparent, but nowhere is it explained how to accomplish that. Say, e.g., that I wanted to have a transparent background for the Command widget in the xgoodbye application from Chapter 2 (as you can tell from this, I am just learning to program using the toolkit), how would I go about it? The obvious way, to put: *goodbye.background: transparent in the application-defaults file (or in ~/.Xdefaults) is not accepted by the toolkit. (It results in the warning "Cannot allocate colormap entry for "transparent"".) Surely, transparent windows could be useful; but, come to think of it, I have never seen one on the X window system, unless the ghost window that appears when you move a window using the window manager is actually a transparent window. -- JanWillem de Bruijn ...!uunet!mcsun!hp4nl!dutrun!dutnak2!jwdb Seismics and Acoustics jwdb@dutnak2.tudelft.nl Faculty of Applied Physics Discipline is never an end in itself, Delft University of Technology only a means to an end.