home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8813 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews2.watson.ibm.com!watson!gaitat.kgn.ibm.com!gaitat
  3. From: gaitat@gaitat.kgn.ibm.com (Saki)
  4. Subject: Re: Unable to change colormap of drawingarea
  5. Sender: @watson.ibm.com
  6. Message-ID: <1993Jan25.182127.16929@watson.ibm.com>
  7. Date: Mon, 25 Jan 93 18:21:27 GMT
  8. Reply-To: gaitat@gaitat.kgn.ibm.com (Saki)
  9. References: <8078@dove.nist.gov> 
  10. Organization: IBM Kingston NY
  11. Lines: 15
  12.  
  13. What you need to do is create the colormap before you create
  14. the widget and then use the call XtVaCreateManagedWidget to set
  15. the colormap for this widget. (sth like XtNcolormap, colormap)
  16.  
  17.    __    ()  ,
  18.   /  )   /`-'|       _/_     _/_
  19.  /--/   /   / __.  o /  __.  /  __.  _  _
  20. /  ( o /__-<_(_/|_<_<__(_/|_<__/  |_</_/_)_
  21.                                  (|
  22. Athanasios G. Gaitatzes
  23.                                    gaitat@kgnvmy.vnet.ibm.com
  24. These statements and/or opinions are not necessarily those of
  25.                                                           IBM
  26.  
  27. \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  28.