home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19380 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.6 KB

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