home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:19380 comp.windows.x.motif:7604
- Newsgroups: comp.windows.x,comp.windows.x.motif
- Path: sparky!uunet!spool.mu.edu!caen!destroyer!cs.ubc.ca!uw-beaver!news.tek.com!psgrain!m2xenix!becca!puma!john
- From: puma.uucp!john@becca.rain.com (John Meissen)
- Subject: Help - custom colormap in child window
- Message-ID: <BxzopD.Lqu@puma.uucp>
- Reply-To: puma!john@becca.rain.com
- Organization: Rosetta Technologies, Inc
- Date: Fri, 20 Nov 1992 00:44:00 GMT
- Lines: 26
-
-
- According to the O'Reilly Xlib Programming Manual, Vol 1 (Adrian Nye),
- section 10.2.3.1, if I have an application which has a child window with
- its own colormap I need to
- 1. Set the colormap window attribute of the child window
- 2. Set the WM_COLORMAP_WINDOWS property of the application's
- top-level window via XSetWMColormapWindows().
-
- I have a motif application whose top level is created with XtAppCreateShell(),
- and has a child window about 6 levels deep created by a cooperating
- process which, in some cases, needs to create its own colormap.
-
- Needless to say, the process (as documented and every variation I could
- conceive) doesn't work for me.
-
- I would appreciate any insight, clues, or directions.
-
- email preferred. Our site isn't in the maps yet, make sure the path
- is qualified through becca.rain.com or your mail will go to Japan.
-
- ---
- John Meissen becca!puma!john
- Rosetta Technologies, Inc. puma!john@becca.rain.com
- ----------------------------------------------------------------------
- Sometimes I worry about being a success in a mediocre world. -- Lily Tomlin
-
-